Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 170.5 kB / 16.07 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.429/1.429, 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.0007267/0.0007267, allocations: 95.12 kB / 270.8 MB, free: 8.133 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.3321/0.3321, allocations: 43.67 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003336, allocations: 12 kB / 432.3 MB, free: 5.016 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 58.84 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.001914/0.12, allocations: 1.402 MB / 492.6 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1212, allocations: 0.8292 MB / 493.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.1213, allocations: 0 / 493.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.1216, allocations: 79.81 kB / 493.5 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1218, allocations: 63.81 kB / 493.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1221, allocations: 79.83 kB / 493.6 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1222, allocations: 103.7 kB / 493.7 MB, free: 7.449 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.57e-05/0.1223, allocations: 12.22 kB / 493.7 MB, free: 7.438 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.1224, allocations: 47.72 kB / 493.8 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.762e-05/0.1225, allocations: 51.83 kB / 493.8 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1225, allocations: 0 / 493.8 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.1226, allocations: 35.98 kB / 493.9 MB, free: 7.305 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.1227, allocations: 23.92 kB / 493.9 MB, free: 7.281 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.1227, allocations: 65.42 kB / 493.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1229, allocations: 115.8 kB / 494.1 MB, free: 7.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1229, allocations: 0 / 494.1 MB, free: 7.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1229, allocations: 4 kB / 494.1 MB, free: 7.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1229, allocations: 0 / 494.1 MB, free: 7.094 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.0004939/0.1234, allocations: 403.1 kB / 494.5 MB, free: 6.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1235, allocations: 8.031 kB / 494.5 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.1235, allocations: 20.75 kB / 494.5 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.1238, allocations: 208.1 kB / 494.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1238, allocations: 384 / 494.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1238, allocations: 12.12 kB / 494.7 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.124, allocations: 53.61 kB / 494.8 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.124, allocations: 3.984 kB / 494.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.124, allocations: 4 kB / 494.8 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.124, allocations: 0 / 494.8 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.1241, allocations: 19.98 kB / 494.8 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.1244, allocations: 288.9 kB / 495.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1246, allocations: 62.61 kB / 495.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.1247, allocations: 24.78 kB / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1247, allocations: 4 kB / 495.2 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.1249, allocations: 67.39 kB / 495.2 MB, free: 5.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1249, allocations: 3.938 kB / 495.2 MB, free: 5.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005136/0.1254, allocations: 177.4 kB / 495.4 MB, free: 5.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.1255, allocations: 51.41 kB / 495.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.1256, allocations: 206.4 kB / 495.6 MB, free: 5.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1257, allocations: 33.7 kB / 495.7 MB, free: 5.277 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.1257, allocations: 100.1 kB / 495.8 MB, free: 5.176 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.1258, allocations: 27.66 kB / 495.8 MB, free: 5.148 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.1258, allocations: 0 / 495.8 MB, free: 5.148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1259, allocations: 334.8 kB / 496.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/0.126, allocations: 20 kB / 496.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.126, allocations: 37.64 kB / 496.2 MB, free: 4.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.1261, allocations: 61.75 kB / 496.2 MB, free: 4.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1262, allocations: 0 / 496.2 MB, free: 4.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001642/0.1263, allocations: 109.5 kB / 496.4 MB, free: 4.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1264, allocations: 4 kB / 496.4 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1264, allocations: 4 kB / 496.4 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1264, allocations: 0 / 496.4 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.1265, allocations: 19.98 kB / 496.4 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1265, allocations: 0 / 496.4 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.1265, allocations: 7.938 kB / 496.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1266, allocations: 0 / 496.4 MB, free: 4.535 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.973e-05/0.1267, allocations: 137.8 kB / 496.5 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.1267, allocations: 11.91 kB / 496.5 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.1267, allocations: 17.39 kB / 496.6 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1267, allocations: 0 / 496.6 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1268, allocations: 0 / 496.6 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1268, allocations: 7.938 kB / 496.6 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.1272, allocations: 391.2 kB / 496.9 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1272, allocations: 8.031 kB / 496.9 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.1272, allocations: 7.984 kB / 497 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1272, allocations: 4 kB / 497 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1272, allocations: 3.938 kB / 497 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1273, allocations: 0 / 497 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1273, allocations: 7.938 kB / 497 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.1275, allocations: 196.3 kB / 497.2 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.1275, allocations: 104.8 kB / 497.3 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1276, allocations: 4.125 kB / 497.3 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.1276, allocations: 4 kB / 497.3 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.1277, allocations: 7.922 kB / 497.3 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1277, allocations: 4 kB / 497.3 MB, free: 3.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1278, allocations: 160.2 kB / 497.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1278, allocations: 0 / 497.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.128, allocations: 20 kB / 497.5 MB, free: 3.352 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.001004/0.1291, allocations: 0.5323 MB / 498 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1292, allocations: 51.92 kB / 498 MB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1292, allocations: 0 / 498 MB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.47e-05/0.1293, allocations: 32.05 kB / 498.1 MB, free: 2.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.1296, allocations: 31.97 kB / 498.1 MB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.1301, allocations: 274.1 kB / 498.4 MB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1303, allocations: 0.7083 MB / 499.1 MB, free: 1.809 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.1304, allocations: 17.17 kB / 499.1 MB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.1304, allocations: 15.44 kB / 499.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1304, allocations: 0 / 499.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of Templates: time 0.003801/0.1342, allocations: 1.642 MB / 0.489 GB, free: 136 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches