Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, 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.462/1.462, allocations: 205.6 MB / 222.4 MB, free: 8.945 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.0008242/0.0008242, allocations: 91.12 kB / 270.8 MB, free: 8.137 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.3272/0.3272, allocations: 43.67 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003153, allocations: 15.98 kB / 432.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 58.84 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.001921/0.1093, allocations: 1.402 MB / 492.6 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1106, allocations: 0.8214 MB / 493.4 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.1107, allocations: 0 / 493.4 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1109, allocations: 35.83 kB / 493.4 MB, free: 7.508 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1112, allocations: 47.83 kB / 493.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1114, allocations: 79.84 kB / 493.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1116, allocations: 91.69 kB / 493.6 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.1117, allocations: 16.2 kB / 493.7 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.56e-05/0.1118, allocations: 39.78 kB / 493.7 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.1119, allocations: 35.78 kB / 493.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1119, allocations: 0 / 493.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.896e-05/0.112, allocations: 31.98 kB / 493.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.1121, allocations: 23.92 kB / 493.8 MB, free: 7.148 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.1121, allocations: 57.44 kB / 493.8 MB, free: 7.086 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1123, allocations: 111.9 kB / 493.9 MB, free: 6.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1123, allocations: 0 / 493.9 MB, free: 6.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1123, allocations: 0 / 493.9 MB, free: 6.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1123, allocations: 0 / 493.9 MB, free: 6.977 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.0005033/0.1129, allocations: 403 kB / 494.3 MB, free: 6.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1129, allocations: 8.031 kB / 494.3 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.1129, allocations: 8.844 kB / 494.4 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1132, allocations: 216 kB / 494.6 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1132, allocations: 384 / 494.6 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.1132, allocations: 12.11 kB / 494.6 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1134, allocations: 53.67 kB / 494.6 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1134, allocations: 0 / 494.6 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1134, allocations: 0 / 494.6 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1134, allocations: 7.938 kB / 494.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.1135, allocations: 19.92 kB / 494.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.1138, allocations: 284.9 kB / 494.9 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.114, allocations: 54.69 kB / 495 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.1141, allocations: 24.84 kB / 495 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1141, allocations: 4 kB / 495 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.1143, allocations: 75.23 kB / 495.1 MB, free: 5.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1143, allocations: 3.938 kB / 495.1 MB, free: 5.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005039/0.1148, allocations: 169.3 kB / 495.3 MB, free: 5.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1148, allocations: 51.41 kB / 495.3 MB, free: 5.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.115, allocations: 186.1 kB / 495.5 MB, free: 5.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.115, allocations: 29.7 kB / 495.5 MB, free: 5.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.1151, allocations: 104.1 kB / 495.6 MB, free: 5.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1151, allocations: 23.7 kB / 495.6 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.1151, allocations: 4 kB / 495.7 MB, free: 5.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.1152, allocations: 326.8 kB / 496 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.1153, allocations: 19.98 kB / 496 MB, free: 4.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.1154, allocations: 41.69 kB / 496 MB, free: 4.672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1155, allocations: 53.66 kB / 496.1 MB, free: 4.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1155, allocations: 0 / 496.1 MB, free: 4.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001722/0.1157, allocations: 101.6 kB / 496.2 MB, free: 4.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1157, allocations: 8 kB / 496.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1157, allocations: 0 / 496.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1157, allocations: 0 / 496.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.1158, allocations: 19.92 kB / 496.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1158, allocations: 4 kB / 496.2 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.1159, allocations: 3.938 kB / 496.2 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.1159, allocations: 8 kB / 496.2 MB, free: 4.465 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.947e-05/0.116, allocations: 121.9 kB / 496.3 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.116, allocations: 15.89 kB / 496.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.116, allocations: 12.72 kB / 496.4 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1161, allocations: 0 / 496.4 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1161, allocations: 0 / 496.4 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1161, allocations: 3.938 kB / 496.4 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.1165, allocations: 395.2 kB / 496.8 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1165, allocations: 0 / 496.8 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.1165, allocations: 19.95 kB / 496.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1165, allocations: 0 / 496.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1166, allocations: 3.938 kB / 496.8 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1166, allocations: 7.938 kB / 496.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1166, allocations: 0 / 496.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.1168, allocations: 196.3 kB / 497 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.1169, allocations: 96.89 kB / 497.1 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1169, allocations: 12.5 kB / 497.1 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.117, allocations: 4 kB / 497.1 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.117, allocations: 11.92 kB / 497.1 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.117, allocations: 4 kB / 497.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1172, allocations: 147.2 kB / 497.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1172, allocations: 0 / 497.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.1174, allocations: 23.98 kB / 497.3 MB, free: 3.312 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.0009801/0.1184, allocations: 0.5269 MB / 497.8 MB, free: 2.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1186, allocations: 59.89 kB / 497.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1186, allocations: 0 / 497.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.776e-05/0.1187, allocations: 32.06 kB / 497.9 MB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.119, allocations: 31.97 kB / 497.9 MB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.1194, allocations: 238.7 kB / 498.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.1196, allocations: 0.7083 MB / 498.9 MB, free: 1.797 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.194e-05/0.1197, allocations: 17.17 kB / 498.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.1197, allocations: 15.44 kB / 498.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1197, allocations: 0 / 498.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of Templates: time 0.004188/0.1239, allocations: 1.626 MB / 0.4888 GB, free: 144 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches