Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008955/0.0008956, allocations: 183.8 kB / 16.08 MB, free: 5.523 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.308/1.308, allocations: 205.6 MB / 222.4 MB, free: 13.66 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.0006924/0.0006926, allocations: 90.28 kB / 270.8 MB, free: 13.18 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.2046/0.2046, allocations: 43.68 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003136, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 58.86 MB / 491.2 MB, free: 8.113 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002292/0.1143, allocations: 1.406 MB / 492.6 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1157, allocations: 0.8292 MB / 493.4 MB, free: 5.836 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.1157, allocations: 3.938 kB / 493.4 MB, free: 5.832 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.1161, allocations: 103.8 kB / 493.5 MB, free: 5.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.1163, allocations: 71.78 kB / 493.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.1166, allocations: 87.78 kB / 493.7 MB, free: 5.574 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.1168, allocations: 111.7 kB / 493.8 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.1169, allocations: 11.98 kB / 493.8 MB, free: 5.453 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.117, allocations: 55.77 kB / 493.9 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1171, allocations: 67.69 kB / 493.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1171, allocations: 0 / 493.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.1172, allocations: 39.98 kB / 494 MB, free: 5.293 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.1173, allocations: 27.91 kB / 494 MB, free: 5.266 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.403e-05/0.1174, allocations: 69.38 kB / 494.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.1176, allocations: 135.8 kB / 494.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1176, allocations: 0 / 494.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1176, allocations: 0 / 494.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1176, allocations: 0 / 494.2 MB, free: 5.059 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000552/0.1182, allocations: 422.9 kB / 494.6 MB, free: 4.598 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1182, allocations: 8.031 kB / 494.6 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1183, allocations: 16.75 kB / 494.6 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.1185, allocations: 231.8 kB / 494.8 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1185, allocations: 384 / 494.8 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.1186, allocations: 8.125 kB / 494.9 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1187, allocations: 73.53 kB / 494.9 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1187, allocations: 0 / 494.9 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1188, allocations: 4 kB / 494.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1188, allocations: 3.984 kB / 494.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.502e-05/0.1189, allocations: 31.97 kB / 495 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.1192, allocations: 316.8 kB / 495.3 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1194, allocations: 78.66 kB / 495.4 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.964e-05/0.1195, allocations: 32.83 kB / 495.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1195, allocations: 0 / 495.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.1197, allocations: 79.31 kB / 495.5 MB, free: 3.613 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.434e-06/0.1197, allocations: 0 / 495.5 MB, free: 3.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.000702/0.1204, allocations: 221 kB / 495.7 MB, free: 3.391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.1205, allocations: 63.33 kB / 495.7 MB, free: 3.316 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.1209, allocations: 250.2 kB / 496 MB, free: 3.055 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.1209, allocations: 25.7 kB / 496 MB, free: 3.023 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.121, allocations: 112.1 kB / 496.1 MB, free: 2.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.1211, allocations: 39.53 kB / 496.2 MB, free: 2.871 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.1211, allocations: 8 kB / 496.2 MB, free: 2.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1213, allocations: 326.8 kB / 496.5 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1214, allocations: 27.98 kB / 496.5 MB, free: 2.508 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1216, allocations: 45.69 kB / 496.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.1218, allocations: 77.66 kB / 496.6 MB, free: 2.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1218, allocations: 4 kB / 496.6 MB, free: 2.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003108/0.1221, allocations: 133.4 kB / 496.8 MB, free: 2.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1221, allocations: 4 kB / 496.8 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1222, allocations: 0 / 496.8 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1222, allocations: 4 kB / 496.8 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1223, allocations: 23.92 kB / 496.8 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1224, allocations: 3.938 kB / 496.8 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.1224, allocations: 8 kB / 496.8 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1225, allocations: 7.984 kB / 496.8 MB, free: 2.184 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 (13): * Single equations (assignments): 13 * 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.000164/0.1226, allocations: 137.9 kB / 497 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1227, allocations: 15.81 kB / 497 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.637e-05/0.1227, allocations: 21.41 kB / 497 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1227, allocations: 0 / 497 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1228, allocations: 3.938 kB / 497 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1228, allocations: 3.984 kB / 497 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.1233, allocations: 451.1 kB / 497.4 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1233, allocations: 3.984 kB / 497.4 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.1234, allocations: 19.94 kB / 497.5 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1234, allocations: 4 kB / 497.5 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1234, allocations: 0 / 497.5 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1234, allocations: 0 / 497.5 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1234, allocations: 4 kB / 497.5 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1237, allocations: 232.2 kB / 497.7 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.1237, allocations: 96.86 kB / 497.8 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.1238, allocations: 3.984 kB / 497.8 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.1238, allocations: 8 kB / 497.8 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.1239, allocations: 7.984 kB / 497.8 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1239, allocations: 4 kB / 497.8 MB, free: 1.082 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1241, allocations: 188.2 kB / 498 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1241, allocations: 0 / 498 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.1244, allocations: 28 kB / 498 MB, free: 0.8711 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 (11): * Single equations (assignments): 9 * 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.001443/0.1258, allocations: 0.5464 MB / 498.6 MB, free: 476 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.1261, allocations: 75.97 kB / 498.6 MB, free: 400 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.1262, allocations: 4.062 kB / 498.6 MB, free: 396 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1263, allocations: 43.92 kB / 498.7 MB, free: 352 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.1268, allocations: 27.92 kB / 498.7 MB, free: 324 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008292/0.1277, allocations: 338.8 kB / 499 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.1281, allocations: 0.7165 MB / 499.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.991e-05/0.1282, allocations: 29.05 kB / 499.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.1283, allocations: 27.42 kB / 499.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1283, allocations: 0 / 499.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of Templates: time 0.00651/0.1348, allocations: 1.801 MB / 0.4899 GB, free: 13.37 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches