Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 112.6 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.351/1.351, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1959/0.1959, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 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.001446/0.001446, allocations: 73.45 kB / 442.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1195, allocations: 57.78 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003141/0.1227, allocations: 1.784 MB / 0.4903 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1242, allocations: 0.8793 MB / 0.4912 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1243, allocations: 4 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.1249, allocations: 311.3 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.1253, allocations: 215.4 kB / 0.4917 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.1257, allocations: 139.6 kB / 0.4918 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.126, allocations: 239.4 kB / 0.4921 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/0.126, allocations: 21.52 kB / 0.4921 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.1262, allocations: 131.5 kB / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.1265, allocations: 191.5 kB / 0.4924 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.1265, allocations: 11.98 kB / 0.4924 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1266, allocations: 43.98 kB / 0.4925 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.1268, allocations: 131.6 kB / 0.4926 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1269, allocations: 158.7 kB / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.1273, allocations: 358.7 kB / 0.4931 GB, free: 7.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1273, allocations: 0 / 0.4931 GB, free: 7.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1273, allocations: 0 / 0.4931 GB, free: 7.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1273, allocations: 0 / 0.4931 GB, free: 7.137 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009318/0.1283, allocations: 0.734 MB / 0.4938 GB, free: 6.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1283, allocations: 15.89 kB / 0.4938 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.47e-05/0.1284, allocations: 44.38 kB / 0.4938 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.129, allocations: 455.7 kB / 0.4943 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.129, allocations: 4.375 kB / 0.4943 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.129, allocations: 8.125 kB / 0.4943 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.1292, allocations: 83.36 kB / 0.4944 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1293, allocations: 0 / 0.4944 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1293, allocations: 0 / 0.4944 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1293, allocations: 0 / 0.4944 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1294, allocations: 35.91 kB / 0.4944 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.1298, allocations: 382.4 kB / 0.4948 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.13, allocations: 101.2 kB / 0.4949 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1302, allocations: 49.58 kB / 0.4949 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.1302, allocations: 0 / 0.4949 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.1304, allocations: 101.1 kB / 0.495 GB, free: 4.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1304, allocations: 0 / 0.495 GB, free: 4.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004901/0.1309, allocations: 209.1 kB / 0.4952 GB, free: 4.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.131, allocations: 77.11 kB / 0.4953 GB, free: 4.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.132, allocations: 1.046 MB / 0.4963 GB, free: 3.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1321, allocations: 25.7 kB / 0.4963 GB, free: 3.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.1322, allocations: 236.1 kB / 0.4966 GB, free: 3.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.1323, allocations: 27.64 kB / 0.4966 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.1323, allocations: 29.7 kB / 0.4966 GB, free: 3.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1325, allocations: 366.8 kB / 0.497 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1326, allocations: 31.98 kB / 0.497 GB, free: 2.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/0.1327, allocations: 59.41 kB / 0.497 GB, free: 2.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.1329, allocations: 87.36 kB / 0.4971 GB, free: 2.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1329, allocations: 0 / 0.4971 GB, free: 2.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002953/0.1332, allocations: 180.9 kB / 0.4973 GB, free: 2.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1332, allocations: 4 kB / 0.4973 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1332, allocations: 0 / 0.4973 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1333, allocations: 4 kB / 0.4973 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1334, allocations: 23.92 kB / 0.4973 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1334, allocations: 4 kB / 0.4973 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.811e-05/0.1335, allocations: 11.94 kB / 0.4973 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1335, allocations: 7.938 kB / 0.4974 GB, free: 2.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0002042/0.1337, allocations: 230.2 kB / 0.4976 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.1338, allocations: 51.28 kB / 0.4976 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.1339, allocations: 60 kB / 0.4977 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1339, allocations: 0 / 0.4977 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1339, allocations: 0 / 0.4977 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.134, allocations: 144.4 kB / 0.4978 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.1341, allocations: 0 / 0.4978 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.423e-05/0.1342, allocations: 11.98 kB / 0.4978 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.1342, allocations: 19.86 kB / 0.4978 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003311/0.1345, allocations: 280.2 kB / 0.4981 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003658/0.1349, allocations: 409.5 kB / 0.4985 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.172e-05/0.135, allocations: 39.97 kB / 0.4985 GB, free: 1.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007555/0.1358, allocations: 0.776 MB / 0.4993 GB, free: 420 kB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.1358, allocations: 0 / 0.4993 GB, free: 420 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.1374, allocations: 0.604 MB / 0.4999 GB, free: 15.84 MB / 398.1 MB Notification: Performance of SimCode: time 0.001344/0.1387, allocations: 1.252 MB / 0.5011 GB, free: 14.54 MB / 398.1 MB Notification: Performance of Templates: time 0.008662/0.1474, allocations: 3.984 MB / 0.505 GB, free: 10.57 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches