Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001965/0.001965, allocations: 173.9 kB / 16.08 MB, free: 5.727 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.544/1.544, allocations: 205.6 MB / 222.4 MB, free: 8.934 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.0008272/0.0008275, allocations: 94.42 kB / 270.8 MB, free: 8.113 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.325/0.325, allocations: 43.67 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003315, allocations: 11.98 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1081, allocations: 58.84 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002064/0.1102, allocations: 1.483 MB / 492.6 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1116, allocations: 0.8993 MB / 493.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1118, allocations: 3.938 kB / 493.6 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.1123, allocations: 303.4 kB / 493.8 MB, free: 7.082 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003934/0.1127, allocations: 203.5 kB / 494 MB, free: 6.883 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.1131, allocations: 131.8 kB / 494.2 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.1135, allocations: 223.4 kB / 494.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.725e-05/0.1136, allocations: 17.53 kB / 494.4 MB, free: 6.516 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.1138, allocations: 123.5 kB / 494.5 MB, free: 6.395 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.114, allocations: 183.6 kB / 494.7 MB, free: 6.215 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.114, allocations: 4 kB / 494.7 MB, free: 6.211 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1142, allocations: 43.91 kB / 494.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.1143, allocations: 131.6 kB / 494.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.1145, allocations: 168.5 kB / 495.1 MB, free: 5.867 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.1149, allocations: 358.9 kB / 495.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1149, allocations: 0 / 495.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1149, allocations: 0 / 495.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1149, allocations: 0 / 495.4 MB, free: 5.516 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008479/0.1158, allocations: 0.6611 MB / 496.1 MB, free: 4.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.689e-05/0.1159, allocations: 16.03 kB / 496.1 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.937e-05/0.116, allocations: 48.28 kB / 496.1 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.1165, allocations: 447.8 kB / 496.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1166, allocations: 4.375 kB / 496.6 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1166, allocations: 12.12 kB / 496.6 MB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.1168, allocations: 87.28 kB / 496.7 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1168, allocations: 0 / 496.7 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1168, allocations: 4 kB / 496.7 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1169, allocations: 0 / 496.7 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.117, allocations: 27.98 kB / 496.7 MB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.1174, allocations: 378.3 kB / 497.1 MB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.1177, allocations: 113.1 kB / 497.2 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.031e-05/0.1178, allocations: 45.64 kB / 497.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1178, allocations: 0 / 497.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.1181, allocations: 109 kB / 497.3 MB, free: 3.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.1181, allocations: 3.938 kB / 497.3 MB, free: 3.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004625/0.1185, allocations: 200.9 kB / 497.5 MB, free: 3.188 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.1186, allocations: 81.11 kB / 497.6 MB, free: 3.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.1197, allocations: 1.026 MB / 498.6 MB, free: 2.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1197, allocations: 25.7 kB / 498.7 MB, free: 2.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1199, allocations: 236 kB / 498.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.1199, allocations: 27.64 kB / 498.9 MB, free: 1.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.12, allocations: 4 kB / 498.9 MB, free: 1.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1201, allocations: 370.8 kB / 499.3 MB, free: 1.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.1202, allocations: 23.98 kB / 499.3 MB, free: 1.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.472e-05/0.1203, allocations: 59.41 kB / 499.4 MB, free: 1.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.1205, allocations: 95.86 kB / 499.5 MB, free: 1.184 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1205, allocations: 0 / 499.5 MB, free: 1.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002968/0.1208, allocations: 172.8 kB / 499.6 MB, free: 1.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1208, allocations: 4 kB / 499.6 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1208, allocations: 4 kB / 499.6 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1209, allocations: 0 / 499.6 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.121, allocations: 19.98 kB / 499.7 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.121, allocations: 4 kB / 499.7 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.1211, allocations: 16 kB / 499.7 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1211, allocations: 4 kB / 499.7 MB, free: 0.957 MB / 378.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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002035/0.1213, allocations: 233.5 kB / 499.9 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.1214, allocations: 51.34 kB / 500 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.1215, allocations: 59.94 kB / 0.4883 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1215, allocations: 4 kB / 0.4883 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1215, allocations: 0 / 0.4883 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.1215, allocations: 3.984 kB / 0.4883 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.1218, allocations: 341.4 kB / 0.4886 GB, free: 224 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1218, allocations: 4 kB / 0.4886 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.1219, allocations: 11.98 kB / 0.4886 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1219, allocations: 0 / 0.4886 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1219, allocations: 0 / 0.4886 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1219, allocations: 4 kB / 0.4886 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1219, allocations: 0 / 0.4886 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1841/0.306, allocations: 198.1 kB / 0.4888 GB, free: 43.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.3062, allocations: 143.4 kB / 0.489 GB, free: 43.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.3063, allocations: 5.203 kB / 0.489 GB, free: 43.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3064, allocations: 7.203 kB / 0.489 GB, free: 43.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.3065, allocations: 11.14 kB / 0.489 GB, free: 43.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.3065, allocations: 7.266 kB / 0.489 GB, free: 43.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009805/0.3075, allocations: 0.7667 MB / 0.4897 GB, free: 43.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3075, allocations: 1.594 kB / 0.4897 GB, free: 43.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000328/0.3079, allocations: 44.47 kB / 0.4898 GB, free: 43.26 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.0008861/0.3088, allocations: 483.4 kB / 0.4903 GB, free: 43.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.3091, allocations: 82.83 kB / 0.4903 GB, free: 43.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3091, allocations: 0 / 0.4903 GB, free: 43.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3092, allocations: 38.41 kB / 0.4904 GB, free: 43.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.3097, allocations: 77.2 kB / 0.4904 GB, free: 43.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.3109, allocations: 0.9547 MB / 0.4914 GB, free: 42.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3112, allocations: 0.8439 MB / 0.4922 GB, free: 41.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00013/0.3114, allocations: 58.3 kB / 0.4923 GB, free: 41.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.3115, allocations: 33.17 kB / 0.4923 GB, free: 41.96 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3115, allocations: 0 / 0.4923 GB, free: 41.96 MB / 378.7 MB Notification: Performance of Templates: time 0.007449/0.3189, allocations: 3.46 MB / 0.4957 GB, free: 41.68 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches