Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 173.9 kB / 16.08 MB, free: 5.73 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.362/1.362, allocations: 205.6 MB / 222.4 MB, free: 8.938 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.000762/0.0007623, allocations: 86.81 kB / 270.8 MB, free: 8.109 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.325/0.325, allocations: 43.67 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003477, allocations: 12 kB / 432.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1053, allocations: 58.84 MB / 491.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.001884/0.1072, allocations: 1.398 MB / 492.6 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1085, allocations: 0.8292 MB / 493.4 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.1086, allocations: 0 / 493.4 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1089, allocations: 31.84 kB / 493.4 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1091, allocations: 43.83 kB / 493.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1093, allocations: 79.84 kB / 493.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.1095, allocations: 91.69 kB / 493.6 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1097, allocations: 20.2 kB / 493.7 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.394e-05/0.1098, allocations: 39.78 kB / 493.7 MB, free: 7.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.1098, allocations: 23.86 kB / 493.7 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1099, allocations: 7.938 kB / 493.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.11, allocations: 35.97 kB / 493.8 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.11, allocations: 15.92 kB / 493.8 MB, free: 7.152 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.1101, allocations: 49.52 kB / 493.8 MB, free: 7.098 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.1103, allocations: 115.9 kB / 493.9 MB, free: 6.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1103, allocations: 0 / 493.9 MB, free: 6.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1103, allocations: 0 / 493.9 MB, free: 6.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1103, allocations: 4 kB / 493.9 MB, free: 6.98 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.0004979/0.1108, allocations: 391.1 kB / 494.3 MB, free: 6.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1109, allocations: 8.031 kB / 494.3 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.1109, allocations: 12.75 kB / 494.3 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.1111, allocations: 209 kB / 494.5 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1112, allocations: 4.375 kB / 494.5 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1112, allocations: 8.125 kB / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1113, allocations: 57.61 kB / 494.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1114, allocations: 4 kB / 494.6 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1114, allocations: 0 / 494.6 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1114, allocations: 0 / 494.6 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.089e-05/0.1115, allocations: 19.98 kB / 494.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1118, allocations: 288.8 kB / 494.9 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.112, allocations: 62.67 kB / 495 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.1121, allocations: 16.86 kB / 495 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.1121, allocations: 0 / 495 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.1123, allocations: 75.31 kB / 495.1 MB, free: 5.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1123, allocations: 0 / 495.1 MB, free: 5.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005046/0.1128, allocations: 161.3 kB / 495.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.1129, allocations: 59.34 kB / 495.3 MB, free: 5.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.113, allocations: 176.5 kB / 495.5 MB, free: 5.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.113, allocations: 25.7 kB / 495.5 MB, free: 5.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.1131, allocations: 96.14 kB / 495.6 MB, free: 5.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.1131, allocations: 27.64 kB / 495.6 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.1131, allocations: 4 kB / 495.6 MB, free: 5.109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1133, allocations: 326.8 kB / 495.9 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.1133, allocations: 19.98 kB / 495.9 MB, free: 4.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-05/0.1134, allocations: 41.64 kB / 496 MB, free: 4.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1135, allocations: 61.64 kB / 496 MB, free: 4.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1135, allocations: 0 / 496 MB, free: 4.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001717/0.1137, allocations: 93.58 kB / 496.1 MB, free: 4.551 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1137, allocations: 8 kB / 496.1 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1138, allocations: 0 / 496.1 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1138, allocations: 0 / 496.1 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.1139, allocations: 27.97 kB / 496.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1139, allocations: 3.984 kB / 496.2 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.1139, allocations: 3.938 kB / 496.2 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.114, allocations: 4 kB / 496.2 MB, free: 4.504 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 9.396e-05/0.1141, allocations: 121.8 kB / 496.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.1141, allocations: 11.81 kB / 496.3 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.1141, allocations: 16.7 kB / 496.3 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1141, allocations: 4 kB / 496.3 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1141, allocations: 0 / 496.3 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1142, allocations: 8.125 kB / 496.3 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.1146, allocations: 387.5 kB / 496.7 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1146, allocations: 3.938 kB / 496.7 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.1146, allocations: 11.98 kB / 496.7 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1146, allocations: 0 / 496.7 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1146, allocations: 11.94 kB / 496.7 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.1147, allocations: 0 / 496.7 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1147, allocations: 3.938 kB / 496.8 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.1149, allocations: 196.3 kB / 496.9 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.1149, allocations: 96.98 kB / 497 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.115, allocations: 3.938 kB / 497 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.115, allocations: 4.375 kB / 497 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.1151, allocations: 11.98 kB / 497.1 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1151, allocations: 12 kB / 497.1 MB, free: 3.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.818e-05/0.1152, allocations: 124.7 kB / 497.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1152, allocations: 4 kB / 497.2 MB, free: 3.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.1155, allocations: 27.91 kB / 497.2 MB, free: 3.363 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.001128/0.1166, allocations: 0.5415 MB / 497.8 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.1168, allocations: 51.97 kB / 497.8 MB, free: 2.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1168, allocations: 0 / 497.8 MB, free: 2.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.043e-05/0.1169, allocations: 39.91 kB / 497.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.1172, allocations: 19.98 kB / 497.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.1177, allocations: 234.2 kB / 498.1 MB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.118, allocations: 0.7043 MB / 498.8 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.046e-05/0.1181, allocations: 20.81 kB / 498.8 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.1182, allocations: 15.44 kB / 498.8 MB, free: 1.82 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1182, allocations: 0 / 498.8 MB, free: 1.82 MB / 378.7 MB Notification: Performance of Templates: time 0.004115/0.1223, allocations: 1.612 MB / 0.4887 GB, free: 212 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches