Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 170.9 kB / 16.07 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.443/1.443, allocations: 205.6 MB / 222.4 MB, free: 8.93 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.001052/0.001052, allocations: 82.94 kB / 270.8 MB, free: 8.117 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.4011/0.4011, allocations: 43.67 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003239, allocations: 8 kB / 432.3 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1076, allocations: 58.85 MB / 491.2 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.001829/0.1095, allocations: 1.402 MB / 492.6 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1106, allocations: 0.8253 MB / 493.4 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.1106, allocations: 3.938 kB / 493.4 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.1109, allocations: 51.8 kB / 493.5 MB, free: 7.477 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.1111, allocations: 55.81 kB / 493.5 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.1113, allocations: 75.84 kB / 493.6 MB, free: 7.348 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1115, allocations: 95.69 kB / 493.7 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.306e-05/0.1116, allocations: 8.219 kB / 493.7 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.505e-05/0.1116, allocations: 55.77 kB / 493.7 MB, free: 7.191 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.1117, allocations: 23.86 kB / 493.8 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1117, allocations: 0 / 493.8 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/0.1118, allocations: 35.92 kB / 493.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.1119, allocations: 31.84 kB / 493.8 MB, free: 7.102 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.1119, allocations: 65.44 kB / 493.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1121, allocations: 127.8 kB / 494 MB, free: 6.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1121, allocations: 0 / 494 MB, free: 6.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1121, allocations: 0 / 494 MB, free: 6.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.1121, allocations: 0 / 494 MB, free: 6.906 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.000445/0.1126, allocations: 422.8 kB / 494.4 MB, free: 6.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1126, allocations: 12.03 kB / 494.4 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.1127, allocations: 16.69 kB / 494.5 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1129, allocations: 219.7 kB / 494.7 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1129, allocations: 4.375 kB / 494.7 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.1129, allocations: 8.125 kB / 494.7 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1131, allocations: 53.67 kB / 494.7 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1131, allocations: 0 / 494.7 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1131, allocations: 4 kB / 494.7 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1131, allocations: 0 / 494.7 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.772e-05/0.1132, allocations: 19.98 kB / 494.8 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.1135, allocations: 296.8 kB / 495 MB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.1137, allocations: 50.69 kB / 495.1 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.1138, allocations: 28.83 kB / 495.1 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1138, allocations: 4 kB / 495.1 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.1139, allocations: 67.33 kB / 495.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.114, allocations: 0 / 495.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004946/0.1145, allocations: 185 kB / 495.4 MB, free: 5.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1145, allocations: 59.39 kB / 495.4 MB, free: 5.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.1147, allocations: 255.7 kB / 495.7 MB, free: 5.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1147, allocations: 29.7 kB / 495.7 MB, free: 5.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.1148, allocations: 112.1 kB / 495.8 MB, free: 4.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.1148, allocations: 23.59 kB / 495.8 MB, free: 4.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.1149, allocations: 8 kB / 495.9 MB, free: 4.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.115, allocations: 330.8 kB / 496.2 MB, free: 4.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.268e-05/0.115, allocations: 16 kB / 496.2 MB, free: 4.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.1151, allocations: 41.64 kB / 496.2 MB, free: 4.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1152, allocations: 65.64 kB / 496.3 MB, free: 4.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1152, allocations: 0 / 496.3 MB, free: 4.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.1154, allocations: 101.5 kB / 496.4 MB, free: 4.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1154, allocations: 4 kB / 496.4 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1154, allocations: 384 / 496.4 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1155, allocations: 4 kB / 496.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.1156, allocations: 15.94 kB / 496.4 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1156, allocations: 4 kB / 496.4 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.1156, allocations: 19.95 kB / 496.4 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1156, allocations: 0 / 496.4 MB, free: 4.242 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 9.693e-05/0.1157, allocations: 133.8 kB / 496.6 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.1158, allocations: 15.81 kB / 496.6 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.1158, allocations: 17.41 kB / 496.6 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1158, allocations: 0 / 496.6 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1158, allocations: 3.984 kB / 496.6 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1158, allocations: 3.938 kB / 496.6 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.1162, allocations: 407.5 kB / 497 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1163, allocations: 0 / 497 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.1163, allocations: 11.98 kB / 497 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1163, allocations: 4 kB / 497 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1163, allocations: 3.938 kB / 497 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.1163, allocations: 3.938 kB / 497 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1163, allocations: 0 / 497 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.1165, allocations: 212.2 kB / 497.2 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.1166, allocations: 92.91 kB / 497.3 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1166, allocations: 3.938 kB / 497.3 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.1167, allocations: 8 kB / 497.3 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.1168, allocations: 7.984 kB / 497.4 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1168, allocations: 0 / 497.4 MB, free: 3.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1169, allocations: 207 kB / 497.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.563e-06/0.1169, allocations: 0 / 497.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.1172, allocations: 27.92 kB / 497.6 MB, free: 2.996 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.0009454/0.1181, allocations: 0.5241 MB / 498.1 MB, free: 2.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1183, allocations: 56.16 kB / 498.2 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1183, allocations: 0 / 498.2 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.913e-05/0.1184, allocations: 35.86 kB / 498.2 MB, free: 2.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1187, allocations: 27.98 kB / 498.2 MB, free: 2.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.1192, allocations: 315 kB / 498.5 MB, free: 2.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1195, allocations: 0.716 MB / 499.2 MB, free: 1.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5e-05/0.1195, allocations: 16.88 kB / 499.3 MB, free: 1.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.1196, allocations: 15.44 kB / 499.3 MB, free: 1.375 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1196, allocations: 0 / 499.3 MB, free: 1.375 MB / 378.7 MB Notification: Performance of Templates: time 0.1657/0.2853, allocations: 1.649 MB / 0.4892 GB, free: 42.63 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches