Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000943/0.0009431, allocations: 179.3 kB / 16.08 MB, free: 5.531 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.436/1.436, allocations: 205.6 MB / 222.4 MB, free: 13.67 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.0008088/0.0008088, allocations: 86.31 kB / 270.8 MB, free: 13.2 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.1989/0.1989, allocations: 43.69 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002881, allocations: 12 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 58.84 MB / 491.2 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001815/0.1045, allocations: 1.394 MB / 492.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1056, allocations: 0.8331 MB / 493.4 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.1057, allocations: 0 / 493.4 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.1059, allocations: 47.86 kB / 493.4 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.1061, allocations: 59.81 kB / 493.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.1063, allocations: 75.84 kB / 493.6 MB, free: 5.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1065, allocations: 91.64 kB / 493.7 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.1066, allocations: 16.22 kB / 493.7 MB, free: 5.574 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.1067, allocations: 43.78 kB / 493.7 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.1067, allocations: 31.84 kB / 493.8 MB, free: 5.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.1067, allocations: 4 kB / 493.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.077e-05/0.1068, allocations: 32 kB / 493.8 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.1069, allocations: 35.77 kB / 493.8 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.107, allocations: 61.39 kB / 493.9 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1071, allocations: 119.9 kB / 494 MB, free: 5.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1071, allocations: 7.984 kB / 494 MB, free: 5.238 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1072, allocations: 3.938 kB / 494 MB, free: 5.234 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1072, allocations: 0 / 494 MB, free: 5.234 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004741/0.1076, allocations: 407 kB / 494.4 MB, free: 4.789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1077, allocations: 12.03 kB / 494.4 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.1077, allocations: 20.73 kB / 494.4 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1079, allocations: 219.5 kB / 494.7 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.108, allocations: 8.312 kB / 494.7 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.108, allocations: 8.109 kB / 494.7 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1081, allocations: 53.67 kB / 494.7 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1081, allocations: 4 kB / 494.7 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1082, allocations: 0 / 494.7 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1082, allocations: 0 / 494.7 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.35e-05/0.1083, allocations: 23.98 kB / 494.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.1086, allocations: 292.8 kB / 495 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.1087, allocations: 62.61 kB / 495.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.1088, allocations: 16.86 kB / 495.1 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1088, allocations: 7.984 kB / 495.1 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.109, allocations: 67.39 kB / 495.2 MB, free: 3.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.109, allocations: 0 / 495.2 MB, free: 3.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004723/0.1095, allocations: 177.4 kB / 495.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.1095, allocations: 55.39 kB / 495.4 MB, free: 3.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.1098, allocations: 255.7 kB / 495.7 MB, free: 3.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1098, allocations: 33.69 kB / 495.7 MB, free: 3.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.1099, allocations: 120.1 kB / 495.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1099, allocations: 23.66 kB / 495.8 MB, free: 3.195 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.1099, allocations: 0 / 495.8 MB, free: 3.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.11, allocations: 334.8 kB / 496.2 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.1101, allocations: 23.86 kB / 496.2 MB, free: 2.836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.054e-05/0.1101, allocations: 37.7 kB / 496.2 MB, free: 2.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1103, allocations: 61.7 kB / 496.3 MB, free: 2.727 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1103, allocations: 0 / 496.3 MB, free: 2.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001641/0.1104, allocations: 101.4 kB / 496.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.1105, allocations: 4 kB / 496.4 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1105, allocations: 4.062 kB / 496.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1105, allocations: 3.984 kB / 496.4 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.1106, allocations: 19.98 kB / 496.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1106, allocations: 0 / 496.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.1106, allocations: 7.938 kB / 496.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.1107, allocations: 8.031 kB / 496.4 MB, free: 2.574 MB / 330.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.984e-05/0.1108, allocations: 141.7 kB / 496.6 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.1108, allocations: 15.81 kB / 496.6 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.1108, allocations: 21.39 kB / 496.6 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1108, allocations: 0 / 496.6 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1109, allocations: 0 / 496.6 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1109, allocations: 3.938 kB / 496.6 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.1113, allocations: 407.3 kB / 497 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1113, allocations: 0 / 497 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.1113, allocations: 8 kB / 497 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1113, allocations: 0 / 497 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1113, allocations: 7.938 kB / 497 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.1114, allocations: 3.984 kB / 497 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1114, allocations: 0 / 497 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1116, allocations: 212.2 kB / 497.2 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.1116, allocations: 88.92 kB / 497.3 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1117, allocations: 7.938 kB / 497.3 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.1118, allocations: 11.98 kB / 497.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.1118, allocations: 0 / 497.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1118, allocations: 7.938 kB / 497.4 MB, free: 1.551 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.112, allocations: 203.3 kB / 497.6 MB, free: 1.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.112, allocations: 0 / 497.6 MB, free: 1.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000225/0.1122, allocations: 24 kB / 497.6 MB, free: 1.328 MB / 330.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.0009413/0.1132, allocations: 0.5227 MB / 498.1 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.1133, allocations: 63.91 kB / 498.2 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1133, allocations: 8 kB / 498.2 MB, free: 0.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.1134, allocations: 27.92 kB / 498.2 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.1137, allocations: 23.98 kB / 498.2 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.1142, allocations: 314.9 kB / 498.5 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1144, allocations: 0.716 MB / 499.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.1145, allocations: 21.17 kB / 499.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.1146, allocations: 19.44 kB / 499.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of SimCode: time 3.3e-07/0.1146, allocations: 0 / 499.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of Templates: time 0.003819/0.1184, allocations: 1.645 MB / 0.4892 GB, free: 14.07 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches