Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001137, allocations: 180.9 kB / 16.08 MB, free: 5.539 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.468/1.468, allocations: 205.6 MB / 222.4 MB, free: 13.64 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.0009378/0.0009379, allocations: 94.28 kB / 270.8 MB, free: 13.17 MB / 234.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.1958/0.1958, allocations: 43.69 MB / 362.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 12 kB / 432.3 MB, free: 19.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 58.85 MB / 491.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002046/0.103, allocations: 1.53 MB / 492.7 MB, free: 6.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1043, allocations: 0.9188 MB / 493.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.04e-05/0.1044, allocations: 3.938 kB / 493.6 MB, free: 5.621 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.1049, allocations: 211.6 kB / 493.8 MB, free: 5.414 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.1051, allocations: 159.5 kB / 494 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.1055, allocations: 131.7 kB / 494.1 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.1057, allocations: 223.3 kB / 494.3 MB, free: 4.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.1059, allocations: 17.56 kB / 494.4 MB, free: 4.895 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.106, allocations: 99.59 kB / 494.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1062, allocations: 147.5 kB / 494.6 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1062, allocations: 0 / 494.6 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.612e-05/0.1063, allocations: 39.98 kB / 494.6 MB, free: 4.613 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.1064, allocations: 51.83 kB / 494.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.832e-05/0.1065, allocations: 113 kB / 494.8 MB, free: 4.445 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.1067, allocations: 207.5 kB / 495 MB, free: 4.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1067, allocations: 4 kB / 495 MB, free: 4.238 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1067, allocations: 0 / 495 MB, free: 4.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.1067, allocations: 0 / 495 MB, free: 4.238 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006539/0.1074, allocations: 0.4983 MB / 495.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1074, allocations: 8.031 kB / 495.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.1075, allocations: 32.5 kB / 495.5 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1078, allocations: 272.1 kB / 495.8 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1078, allocations: 12.38 kB / 495.8 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.1078, allocations: 8.125 kB / 495.8 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.1081, allocations: 95.34 kB / 495.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1081, allocations: 0 / 495.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1081, allocations: 0 / 495.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1081, allocations: 7.938 kB / 495.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1082, allocations: 39.97 kB / 496 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.1087, allocations: 448.9 kB / 496.4 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.109, allocations: 109.3 kB / 496.5 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.391e-05/0.1091, allocations: 49.7 kB / 496.6 MB, free: 2.504 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.1091, allocations: 0 / 496.6 MB, free: 2.504 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.1093, allocations: 117 kB / 496.7 MB, free: 2.371 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1094, allocations: 3.938 kB / 496.7 MB, free: 2.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007926/0.1102, allocations: 363.8 kB / 497 MB, free: 2.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.1102, allocations: 81.05 kB / 497.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.1106, allocations: 428.5 kB / 497.5 MB, free: 1.477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1106, allocations: 33.64 kB / 497.6 MB, free: 1.438 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.1107, allocations: 152.4 kB / 497.7 MB, free: 1.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.1108, allocations: 55.28 kB / 497.8 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.1108, allocations: 4 kB / 497.8 MB, free: 1.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1109, allocations: 342.8 kB / 498.1 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.111, allocations: 39.97 kB / 498.1 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1111, allocations: 78.28 kB / 498.2 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.1113, allocations: 115.4 kB / 498.3 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1114, allocations: 0 / 498.3 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002875/0.1116, allocations: 185.1 kB / 498.5 MB, free: 456 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1117, allocations: 8 kB / 498.5 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1117, allocations: 0 / 498.5 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1117, allocations: 0 / 498.5 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1118, allocations: 31.98 kB / 498.6 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1119, allocations: 5 kB / 498.6 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.112, allocations: 16.06 kB / 498.6 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.112, allocations: 7.984 kB / 498.6 MB, free: 388 kB / 330.7 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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001383/0.1121, allocations: 161.8 kB / 498.7 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.1122, allocations: 27.72 kB / 498.8 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.1122, allocations: 38.61 kB / 498.8 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1123, allocations: 4 kB / 498.8 MB, free: 140 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1123, allocations: 7.938 kB / 498.8 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1123, allocations: 0 / 498.8 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000724/0.113, allocations: 0.628 MB / 499.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.113, allocations: 0 / 499.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.1131, allocations: 20 kB / 499.5 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.1131, allocations: 4 kB / 499.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1131, allocations: 7.922 kB / 499.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1131, allocations: 4 kB / 499.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1131, allocations: 0 / 499.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.1135, allocations: 368.1 kB / 499.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.1136, allocations: 104.8 kB / 499.9 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.1136, allocations: 7.938 kB / 499.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.1138, allocations: 12 kB / 500 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.1138, allocations: 19.91 kB / 500 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.1139, allocations: 8 kB / 500 MB, free: 14.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003067/0.1142, allocations: 315 kB / 0.4886 GB, free: 14.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1142, allocations: 0 / 0.4886 GB, free: 14.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.1145, allocations: 47.89 kB / 0.4886 GB, free: 14.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001038/0.1155, allocations: 0.5267 MB / 0.4891 GB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.1158, allocations: 115.8 kB / 0.4892 GB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1158, allocations: 0 / 0.4892 GB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.116, allocations: 64.09 kB / 0.4893 GB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.1165, allocations: 60.66 kB / 0.4894 GB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.1173, allocations: 0.5446 MB / 0.4899 GB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.1177, allocations: 0.7596 MB / 0.4906 GB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.884e-05/0.1178, allocations: 34.56 kB / 0.4907 GB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.1179, allocations: 27.42 kB / 0.4907 GB, free: 12.45 MB / 346.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1179, allocations: 0 / 0.4907 GB, free: 12.45 MB / 346.7 MB Notification: Performance of Templates: time 0.005621/0.1235, allocations: 2.565 MB / 0.4932 GB, free: 9.891 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches