Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001281/0.001282, allocations: 173.5 kB / 16.07 MB, free: 5.578 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.478/1.478, allocations: 205.6 MB / 222.4 MB, free: 13.65 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.0008052/0.0008052, allocations: 94.3 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.1954/0.1954, allocations: 43.68 MB / 362.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003023, allocations: 12 kB / 432.3 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 58.86 MB / 491.2 MB, free: 8.102 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002103/0.1032, allocations: 1.467 MB / 492.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.1055, allocations: 1.558 MB / 494.2 MB, free: 5.012 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.1057, allocations: 0 / 494.2 MB, free: 5.012 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.1061, allocations: 59.73 kB / 494.3 MB, free: 4.953 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.1064, allocations: 67.75 kB / 494.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.1068, allocations: 131.7 kB / 494.5 MB, free: 4.758 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.1071, allocations: 167.5 kB / 494.6 MB, free: 4.594 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.571e-05/0.1072, allocations: 9.562 kB / 494.6 MB, free: 4.586 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.1073, allocations: 79.56 kB / 494.7 MB, free: 4.508 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.1075, allocations: 68.7 kB / 494.8 MB, free: 4.441 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.1076, allocations: 4 kB / 494.8 MB, free: 4.438 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.1078, allocations: 51.92 kB / 494.8 MB, free: 4.387 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.1079, allocations: 27.91 kB / 494.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.1079, allocations: 81.3 kB / 494.9 MB, free: 4.273 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.1083, allocations: 163.8 kB / 495.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1083, allocations: 0 / 495.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1083, allocations: 0 / 495.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1083, allocations: 0 / 495.1 MB, free: 4.113 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007237/0.109, allocations: 446.8 kB / 495.5 MB, free: 3.629 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1091, allocations: 8.031 kB / 495.5 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.1092, allocations: 20.75 kB / 495.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.1095, allocations: 247.5 kB / 495.8 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.1096, allocations: 384 / 495.8 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1096, allocations: 12.11 kB / 495.8 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.1098, allocations: 105 kB / 495.9 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1098, allocations: 0 / 495.9 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1098, allocations: 4 kB / 495.9 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1099, allocations: 0 / 495.9 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.11, allocations: 31.97 kB / 496 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.1102, allocations: 214.5 kB / 496.2 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.1105, allocations: 109.2 kB / 496.3 MB, free: 2.766 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.248e-05/0.1106, allocations: 41.64 kB / 496.3 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1106, allocations: 4 kB / 496.3 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.1108, allocations: 109 kB / 496.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1109, allocations: 3.938 kB / 496.4 MB, free: 2.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004559/0.1113, allocations: 161.4 kB / 496.6 MB, free: 2.422 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.1114, allocations: 132.5 kB / 496.7 MB, free: 2.262 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1116, allocations: 215.7 kB / 496.9 MB, free: 2.035 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1117, allocations: 33.7 kB / 497 MB, free: 1.996 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.1118, allocations: 112.1 kB / 497.1 MB, free: 1.883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.1118, allocations: 31.55 kB / 497.1 MB, free: 1.852 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.1118, allocations: 0 / 497.1 MB, free: 1.852 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.112, allocations: 330.8 kB / 497.4 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.1121, allocations: 23.98 kB / 497.4 MB, free: 1.496 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.982e-05/0.1122, allocations: 77.06 kB / 497.5 MB, free: 1.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.1123, allocations: 91.86 kB / 497.6 MB, free: 1.301 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1123, allocations: 0 / 497.6 MB, free: 1.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002451/0.1126, allocations: 137.3 kB / 497.7 MB, free: 1.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1126, allocations: 8.094 kB / 497.8 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1126, allocations: 0 / 497.8 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1127, allocations: 4 kB / 497.8 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1128, allocations: 19.98 kB / 497.8 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1128, allocations: 3.938 kB / 497.8 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.1129, allocations: 12 kB / 497.8 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1129, allocations: 4 kB / 497.8 MB, free: 1.109 MB / 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001161/0.113, allocations: 133.8 kB / 497.9 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.113, allocations: 19.81 kB / 497.9 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.1131, allocations: 20.98 kB / 498 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1131, allocations: 4 kB / 498 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1131, allocations: 0 / 498 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1131, allocations: 0 / 498 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.1133, allocations: 225.4 kB / 498.2 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1133, allocations: 0 / 498.2 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.1134, allocations: 11.98 kB / 498.2 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1134, allocations: 0 / 498.2 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.1134, allocations: 7.938 kB / 498.2 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1134, allocations: 0 / 498.2 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1134, allocations: 4 kB / 498.2 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.1137, allocations: 165.6 kB / 498.4 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.1138, allocations: 100.9 kB / 498.5 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.1138, allocations: 16.05 kB / 498.5 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.526e-05/0.1139, allocations: 8 kB / 498.5 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.1139, allocations: 11.98 kB / 498.5 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.114, allocations: 4.094 kB / 498.5 MB, free: 300 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.1141, allocations: 169.4 kB / 498.7 MB, free: 132 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1141, allocations: 0 / 498.7 MB, free: 132 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.1144, allocations: 36 kB / 498.7 MB, free: 96 kB / 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009961/0.1154, allocations: 0.5017 MB / 499.2 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.1156, allocations: 83.89 kB / 499.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1156, allocations: 0 / 499.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.565e-05/0.1157, allocations: 43.92 kB / 499.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1161, allocations: 51.88 kB / 499.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.1166, allocations: 295.1 kB / 499.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1168, allocations: 0.7166 MB / 0.4887 GB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.73e-05/0.1169, allocations: 33.45 kB / 0.4887 GB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.117, allocations: 23.42 kB / 0.4887 GB, free: 14.43 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.117, allocations: 4 kB / 0.4887 GB, free: 14.43 MB / 346.7 MB Notification: Performance of Templates: time 0.005443/0.1225, allocations: 2.514 MB / 0.4912 GB, free: 11.92 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches