Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001367/0.001367, allocations: 172.8 kB / 16.08 MB, free: 5.594 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.452/1.452, 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.000821/0.000821, allocations: 90.94 kB / 270.8 MB, free: 8.125 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.3583/0.3583, allocations: 43.67 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 12 kB / 432.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1088, allocations: 58.84 MB / 491.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00222/0.1111, allocations: 1.48 MB / 492.6 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1125, allocations: 0.9071 MB / 493.5 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1126, allocations: 3.938 kB / 493.6 MB, free: 7.371 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.1131, allocations: 287.4 kB / 493.8 MB, free: 7.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.1135, allocations: 199.5 kB / 494 MB, free: 6.895 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.1139, allocations: 131.8 kB / 494.2 MB, free: 6.766 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.1142, allocations: 227.4 kB / 494.4 MB, free: 6.543 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.101e-05/0.1142, allocations: 13.55 kB / 494.4 MB, free: 6.527 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.1144, allocations: 119.5 kB / 494.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.1146, allocations: 180 kB / 494.7 MB, free: 6.234 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.1147, allocations: 0 / 494.7 MB, free: 6.234 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.1148, allocations: 39.97 kB / 494.7 MB, free: 6.195 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.1149, allocations: 128.6 kB / 494.8 MB, free: 6.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.1151, allocations: 172.5 kB / 495 MB, free: 5.895 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.1154, allocations: 346.9 kB / 495.4 MB, free: 5.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1154, allocations: 3.938 kB / 495.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1154, allocations: 0 / 495.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.1154, allocations: 0 / 495.4 MB, free: 5.551 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.0007924/0.1162, allocations: 0.6572 MB / 496 MB, free: 4.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1163, allocations: 8.031 kB / 496 MB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.1164, allocations: 52.36 kB / 496.1 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.1169, allocations: 439.9 kB / 496.5 MB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.1169, allocations: 8.375 kB / 496.5 MB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1169, allocations: 4.125 kB / 496.5 MB, free: 4.305 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1171, allocations: 87.3 kB / 496.6 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1172, allocations: 4 kB / 496.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1172, allocations: 0 / 496.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1172, allocations: 0 / 496.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1173, allocations: 31.97 kB / 496.6 MB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.1177, allocations: 378.2 kB / 497 MB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.1179, allocations: 109.2 kB / 497.1 MB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/0.118, allocations: 45.64 kB / 497.2 MB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.1181, allocations: 0 / 497.2 MB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.1183, allocations: 113 kB / 497.3 MB, free: 3.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1183, allocations: 0 / 497.3 MB, free: 3.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004535/0.1188, allocations: 197 kB / 497.5 MB, free: 3.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.1188, allocations: 81.11 kB / 497.5 MB, free: 3.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.1199, allocations: 0.9988 MB / 498.5 MB, free: 2.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1199, allocations: 33.7 kB / 498.6 MB, free: 2.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1201, allocations: 228 kB / 498.8 MB, free: 1.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.1201, allocations: 27.64 kB / 498.8 MB, free: 1.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.1201, allocations: 0 / 498.8 MB, free: 1.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1203, allocations: 370.8 kB / 499.2 MB, free: 1.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.759e-05/0.1204, allocations: 31.98 kB / 499.2 MB, free: 1.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.703e-05/0.1205, allocations: 55.34 kB / 499.3 MB, free: 1.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.1207, allocations: 83.42 kB / 499.4 MB, free: 1.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1207, allocations: 3.938 kB / 499.4 MB, free: 1.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002857/0.121, allocations: 169.5 kB / 499.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.121, allocations: 4 kB / 499.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.121, allocations: 4 kB / 499.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.121, allocations: 0 / 499.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1212, allocations: 24.05 kB / 499.6 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.1212, allocations: 11.94 kB / 499.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1213, allocations: 7.906 kB / 499.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1213, allocations: 8 kB / 499.6 MB, free: 1.047 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.0002002/0.1215, allocations: 234.9 kB / 499.8 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.1216, allocations: 47.34 kB / 499.9 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.269e-05/0.1217, allocations: 55.84 kB / 499.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1217, allocations: 4 kB / 499.9 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1217, allocations: 0 / 499.9 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1217, allocations: 3.984 kB / 499.9 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.122, allocations: 349.3 kB / 0.4885 GB, free: 316 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.122, allocations: 0 / 0.4885 GB, free: 316 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.122, allocations: 4 kB / 0.4885 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.122, allocations: 8 kB / 0.4885 GB, free: 304 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1221, allocations: 0 / 0.4885 GB, free: 304 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1221, allocations: 3.938 kB / 0.4885 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1221, allocations: 4 kB / 0.4886 GB, free: 296 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.1224, allocations: 201.2 kB / 0.4887 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1772/0.2996, allocations: 140.4 kB / 0.4889 GB, free: 43.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.2998, allocations: 6.047 kB / 0.4889 GB, free: 43.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.2999, allocations: 8.906 kB / 0.4889 GB, free: 43.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.3, allocations: 6.781 kB / 0.4889 GB, free: 43.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.3, allocations: 6.328 kB / 0.4889 GB, free: 43.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000955/0.301, allocations: 0.7502 MB / 0.4896 GB, free: 43.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.301, allocations: 1.031 kB / 0.4896 GB, free: 43.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003242/0.3013, allocations: 36.44 kB / 0.4897 GB, free: 43.39 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.0008747/0.3022, allocations: 481 kB / 0.4901 GB, free: 43.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.3025, allocations: 79.53 kB / 0.4902 GB, free: 43.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3025, allocations: 2.953 kB / 0.4902 GB, free: 43.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.3026, allocations: 46.17 kB / 0.4903 GB, free: 43.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.303, allocations: 73.08 kB / 0.4903 GB, free: 43.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.3042, allocations: 0.9235 MB / 0.4912 GB, free: 42.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3045, allocations: 0.8361 MB / 0.492 GB, free: 42.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.3046, allocations: 53.33 kB / 0.4921 GB, free: 42.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.3047, allocations: 32.61 kB / 0.4921 GB, free: 42.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3047, allocations: 3.656 kB / 0.4921 GB, free: 42.1 MB / 378.7 MB Notification: Performance of Templates: time 0.007691/0.3124, allocations: 3.423 MB / 0.4955 GB, free: 41.83 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches