Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 173.9 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.6 MB / 222.4 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000774/0.000774, allocations: 90.62 kB / 270.8 MB, free: 8.125 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4681/0.4681, allocations: 43.67 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 12 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1064, allocations: 58.85 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002092/0.1085, allocations: 1.402 MB / 492.6 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.1105, allocations: 1.483 MB / 494.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.1106, allocations: 0 / 494.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.1109, allocations: 31.84 kB / 494.1 MB, free: 6.828 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.1111, allocations: 47.83 kB / 494.1 MB, free: 6.781 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1113, allocations: 75.84 kB / 494.2 MB, free: 6.707 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.1114, allocations: 91.69 kB / 494.3 MB, free: 6.617 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.1115, allocations: 16.22 kB / 494.3 MB, free: 6.602 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.1116, allocations: 35.8 kB / 494.4 MB, free: 6.566 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1117, allocations: 39.77 kB / 494.4 MB, free: 6.527 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1118, allocations: 4 kB / 494.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1119, allocations: 51.97 kB / 494.4 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.1119, allocations: 15.92 kB / 494.5 MB, free: 6.457 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.112, allocations: 49.52 kB / 494.5 MB, free: 6.402 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.1122, allocations: 127.9 kB / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1122, allocations: 0 / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1122, allocations: 0 / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1122, allocations: 0 / 494.6 MB, free: 6.277 MB / 378.7 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.0005181/0.1127, allocations: 391.2 kB / 495 MB, free: 5.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1128, allocations: 12.03 kB / 495 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1128, allocations: 8.844 kB / 495 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1131, allocations: 215.6 kB / 495.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.1131, allocations: 4.375 kB / 495.3 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.1131, allocations: 4.125 kB / 495.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1133, allocations: 71.39 kB / 495.3 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1133, allocations: 0 / 495.3 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1133, allocations: 7.922 kB / 495.3 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1133, allocations: 0 / 495.3 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.522e-05/0.1134, allocations: 23.92 kB / 495.4 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.1138, allocations: 280.9 kB / 495.6 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1139, allocations: 58.67 kB / 495.7 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.114, allocations: 20.8 kB / 495.7 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.114, allocations: 4 kB / 495.7 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.1142, allocations: 63.39 kB / 495.8 MB, free: 4.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1142, allocations: 0 / 495.8 MB, free: 4.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000465/0.1147, allocations: 169.2 kB / 495.9 MB, free: 4.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.1147, allocations: 81.11 kB / 496 MB, free: 4.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1149, allocations: 153.8 kB / 496.2 MB, free: 4.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1149, allocations: 25.7 kB / 496.2 MB, free: 4.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.1149, allocations: 104 kB / 496.3 MB, free: 4.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.115, allocations: 23.73 kB / 496.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.115, allocations: 4 kB / 496.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1151, allocations: 326.8 kB / 496.6 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.1152, allocations: 15.98 kB / 496.7 MB, free: 4.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-05/0.1152, allocations: 50.56 kB / 496.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1153, allocations: 57.66 kB / 496.8 MB, free: 3.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1154, allocations: 0 / 496.8 MB, free: 3.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001706/0.1155, allocations: 101.8 kB / 496.9 MB, free: 3.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1155, allocations: 8 kB / 496.9 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1156, allocations: 0 / 496.9 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1156, allocations: 64 / 496.9 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.1157, allocations: 27.98 kB / 496.9 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1157, allocations: 4 kB / 496.9 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.1157, allocations: 3.938 kB / 496.9 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1157, allocations: 4 kB / 496.9 MB, free: 3.758 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 8.463e-05/0.1158, allocations: 121.8 kB / 497 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.1159, allocations: 7.906 kB / 497 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.1159, allocations: 16.7 kB / 497.1 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1159, allocations: 3.938 kB / 497.1 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.1159, allocations: 4 kB / 497.1 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1159, allocations: 3.938 kB / 497.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.1163, allocations: 379.4 kB / 497.4 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1163, allocations: 3.938 kB / 497.4 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.1164, allocations: 11.98 kB / 497.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1164, allocations: 3.938 kB / 497.5 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1164, allocations: 11.94 kB / 497.5 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1164, allocations: 0 / 497.5 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1164, allocations: 4.031 kB / 497.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.1166, allocations: 196.3 kB / 497.7 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.1167, allocations: 93 kB / 497.8 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.1167, allocations: 3.938 kB / 497.8 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.1168, allocations: 4 kB / 497.8 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.1168, allocations: 15.92 kB / 497.8 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.1169, allocations: 8 kB / 497.8 MB, free: 2.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.469e-05/0.117, allocations: 118.9 kB / 497.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.117, allocations: 192 / 497.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000236/0.1172, allocations: 28 kB / 497.9 MB, free: 2.641 MB / 378.7 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.001079/0.1183, allocations: 0.5852 MB / 498.5 MB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.1185, allocations: 51.92 kB / 498.6 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1185, allocations: 0 / 498.6 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.775e-05/0.1186, allocations: 27.98 kB / 498.6 MB, free: 2.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.1189, allocations: 40.03 kB / 498.6 MB, free: 2.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.1192, allocations: 214.3 kB / 498.8 MB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.1195, allocations: 0.7004 MB / 499.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.055e-05/0.1195, allocations: 16.88 kB / 499.6 MB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.1196, allocations: 19.42 kB / 499.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1196, allocations: 0 / 499.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of Templates: time 0.1612/0.2808, allocations: 1.857 MB / 0.4897 GB, free: 42.62 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches