Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008633/0.0008634, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 185.4 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 223.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3729/0.3729, allocations: 43.57 MB / 315 MB, free: 8.723 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004792, allocations: 20 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 58.85 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002075/0.1253, allocations: 1.421 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1266, allocations: 0.7731 MB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.1267, allocations: 3.938 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.127, allocations: 39.89 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1271, allocations: 39.83 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1274, allocations: 79.86 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1276, allocations: 91.67 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1277, allocations: 24.2 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.212e-05/0.1278, allocations: 35.8 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.1279, allocations: 31.78 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1279, allocations: 4 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.128, allocations: 39.98 kB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.1281, allocations: 15.92 kB / 446.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.1281, allocations: 65.42 kB / 446.2 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1283, allocations: 103.9 kB / 446.3 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1283, allocations: 0 / 446.3 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1283, allocations: 4 kB / 446.3 MB, free: 9.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1284, allocations: 0 / 446.3 MB, free: 9.789 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005553/0.1289, allocations: 410.9 kB / 446.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.129, allocations: 12.03 kB / 446.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.129, allocations: 30.75 kB / 446.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1291, allocations: 16.78 kB / 446.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1293, allocations: 212.7 kB / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1293, allocations: 384 / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.1293, allocations: 11.94 kB / 447 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1295, allocations: 53.67 kB / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1295, allocations: 0 / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1295, allocations: 0 / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1295, allocations: 0 / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.1296, allocations: 23.92 kB / 447.1 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.1299, allocations: 288.9 kB / 447.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1301, allocations: 54.67 kB / 447.4 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.1302, allocations: 24.84 kB / 447.4 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1302, allocations: 0 / 447.4 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.1304, allocations: 67.33 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1304, allocations: 0 / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005171/0.1309, allocations: 189.1 kB / 447.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.131, allocations: 51.41 kB / 447.7 MB, free: 8.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1311, allocations: 195.3 kB / 447.9 MB, free: 7.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1312, allocations: 29.7 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.1312, allocations: 104.1 kB / 448 MB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.1313, allocations: 23.66 kB / 448.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.1313, allocations: 13.72 kB / 448.1 MB, free: 7.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1314, allocations: 322.8 kB / 448.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.1315, allocations: 27.98 kB / 448.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.1315, allocations: 37.64 kB / 448.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.1317, allocations: 61.64 kB / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1317, allocations: 0 / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001687/0.1318, allocations: 105.4 kB / 448.6 MB, free: 7.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1319, allocations: 8 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1319, allocations: 4.031 kB / 448.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1319, allocations: 0 / 448.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.132, allocations: 15.98 kB / 448.7 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.132, allocations: 4 kB / 448.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.132, allocations: 3.938 kB / 448.7 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1321, allocations: 4 kB / 448.7 MB, free: 7.188 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.493e-05/0.1322, allocations: 129.8 kB / 448.8 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.1322, allocations: 8.094 kB / 448.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.1322, allocations: 17.55 kB / 448.8 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1322, allocations: 11.94 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1322, allocations: 0 / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1323, allocations: 4.312 kB / 448.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.1327, allocations: 395.2 kB / 449.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1327, allocations: 8 kB / 449.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.1327, allocations: 11.94 kB / 449.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1327, allocations: 7.922 kB / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1327, allocations: 4.016 kB / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1328, allocations: 4 kB / 449.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1328, allocations: 4 kB / 449.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.133, allocations: 196.3 kB / 449.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.1331, allocations: 92.92 kB / 449.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1331, allocations: 7.922 kB / 449.5 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.1332, allocations: 4 kB / 449.5 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1332, allocations: 8 kB / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.1332, allocations: 3.984 kB / 449.6 MB, free: 6.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1333, allocations: 156.8 kB / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1334, allocations: 0 / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1336, allocations: 27.98 kB / 449.7 MB, free: 6.004 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001413/0.135, allocations: 1.094 MB / 450.8 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1352, allocations: 67.89 kB / 450.9 MB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1352, allocations: 0 / 450.9 MB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.1353, allocations: 31.92 kB / 450.9 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1356, allocations: 27.92 kB / 451 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.1373, allocations: 1.697 MB / 452.7 MB, free: 3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1375, allocations: 0.7083 MB / 453.4 MB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.1376, allocations: 16.88 kB / 453.4 MB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.1377, allocations: 35.42 kB / 453.4 MB, free: 2.215 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1377, allocations: 0 / 453.4 MB, free: 2.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2067/0.3444, allocations: 2.971 MB / 456.4 MB, free: 45.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/0.3445, allocations: 231 kB / 456.6 MB, free: 45.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.184, allocations: 3.625 kB / 456.6 MB, free: 45.39 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches