Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 181.1 kB / 16.08 MB, free: 5.535 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.67 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.0008332/0.0008334, allocations: 90.25 kB / 270.8 MB, free: 13.19 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.1975/0.1975, allocations: 43.69 MB / 362.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 12 kB / 432.3 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1047, allocations: 58.85 MB / 491.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001993/0.1068, allocations: 1.39 MB / 492.6 MB, free: 6.699 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.108, allocations: 0.8292 MB / 493.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.1081, allocations: 3.938 kB / 493.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.1084, allocations: 71.84 kB / 493.5 MB, free: 5.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.1086, allocations: 63.78 kB / 493.5 MB, free: 5.707 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.1089, allocations: 75.84 kB / 493.6 MB, free: 5.633 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.109, allocations: 107.7 kB / 493.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.1091, allocations: 12.22 kB / 493.7 MB, free: 5.516 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.572e-05/0.1092, allocations: 47.72 kB / 493.8 MB, free: 5.469 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.826e-05/0.1093, allocations: 55.81 kB / 493.8 MB, free: 5.414 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1093, allocations: 0 / 493.8 MB, free: 5.414 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.605e-05/0.1094, allocations: 39.98 kB / 493.9 MB, free: 5.375 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.1095, allocations: 15.92 kB / 493.9 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.1096, allocations: 65.44 kB / 493.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1098, allocations: 119.8 kB / 494.1 MB, free: 5.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1098, allocations: 0 / 494.1 MB, free: 5.172 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1098, allocations: 3.938 kB / 494.1 MB, free: 5.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1098, allocations: 0 / 494.1 MB, free: 5.168 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004835/0.1103, allocations: 395.2 kB / 494.5 MB, free: 4.734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1103, allocations: 12.03 kB / 494.5 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.1104, allocations: 12.75 kB / 494.5 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.1106, allocations: 212.1 kB / 494.7 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1106, allocations: 4.375 kB / 494.7 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.1106, allocations: 8.125 kB / 494.7 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1108, allocations: 53.67 kB / 494.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1108, allocations: 0 / 494.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.1108, allocations: 3.938 kB / 494.8 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1108, allocations: 3.984 kB / 494.8 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.738e-05/0.1109, allocations: 19.94 kB / 494.8 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1112, allocations: 292.8 kB / 495.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1114, allocations: 54.69 kB / 495.1 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.1114, allocations: 28.78 kB / 495.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1115, allocations: 0 / 495.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.1116, allocations: 67.39 kB / 495.2 MB, free: 3.859 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1117, allocations: 4 kB / 495.2 MB, free: 3.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.00049/0.1122, allocations: 177.1 kB / 495.4 MB, free: 3.676 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.1122, allocations: 55.41 kB / 495.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1124, allocations: 206.4 kB / 495.6 MB, free: 3.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1124, allocations: 25.7 kB / 495.7 MB, free: 3.367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.1125, allocations: 104.1 kB / 495.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1125, allocations: 31.62 kB / 495.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.1125, allocations: 0 / 495.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1127, allocations: 338.7 kB / 496.1 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.255e-05/0.1127, allocations: 19.98 kB / 496.2 MB, free: 2.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.874e-05/0.1128, allocations: 33.7 kB / 496.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1129, allocations: 61.66 kB / 496.2 MB, free: 2.766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1129, allocations: 0 / 496.2 MB, free: 2.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001788/0.1131, allocations: 101.4 kB / 496.3 MB, free: 2.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1131, allocations: 8.031 kB / 496.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1131, allocations: 4 kB / 496.4 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1131, allocations: 0 / 496.4 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.1132, allocations: 12 kB / 496.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1133, allocations: 3.984 kB / 496.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.1133, allocations: 11.94 kB / 496.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.1133, allocations: 4 kB / 496.4 MB, free: 2.617 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 (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.897e-05/0.1134, allocations: 129.8 kB / 496.5 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.1134, allocations: 11.91 kB / 496.5 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.1135, allocations: 13.41 kB / 496.5 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1135, allocations: 4 kB / 496.5 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1135, allocations: 3.938 kB / 496.5 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1135, allocations: 3.938 kB / 496.5 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.1139, allocations: 395.3 kB / 496.9 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.114, allocations: 0 / 496.9 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.114, allocations: 15.92 kB / 497 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.114, allocations: 7.969 kB / 497 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.114, allocations: 7.938 kB / 497 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.114, allocations: 0 / 497 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.114, allocations: 0 / 497 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.1143, allocations: 204.5 kB / 497.2 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.1143, allocations: 88.92 kB / 497.3 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1144, allocations: 7.938 kB / 497.3 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.1144, allocations: 8.375 kB / 497.3 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.1145, allocations: 11.92 kB / 497.3 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.1145, allocations: 4 kB / 497.3 MB, free: 1.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1146, allocations: 160.2 kB / 497.4 MB, free: 1.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1146, allocations: 0 / 497.4 MB, free: 1.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.1149, allocations: 23.98 kB / 497.5 MB, free: 1.43 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 (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.001003/0.1159, allocations: 0.5242 MB / 498 MB, free: 1.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.116, allocations: 63.83 kB / 498.1 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1161, allocations: 7.938 kB / 498.1 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.357e-05/0.1161, allocations: 24 kB / 498.1 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1164, allocations: 35.75 kB / 498.1 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.1169, allocations: 258.1 kB / 498.4 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.1172, allocations: 0.716 MB / 499.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.296e-05/0.1172, allocations: 17.17 kB / 499.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.1173, allocations: 15.44 kB / 499.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1173, allocations: 0 / 499.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of Templates: time 0.003842/0.1211, allocations: 1.631 MB / 0.489 GB, free: 14.23 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches