Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 179.6 kB / 16.08 MB, free: 5.539 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.582/1.582, allocations: 205.6 MB / 222.4 MB, free: 13.54 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.0007645/0.0007645, allocations: 94.25 kB / 270.8 MB, free: 13.06 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.1986/0.1986, allocations: 43.68 MB / 362.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 12 kB / 432.3 MB, free: 19.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 58.87 MB / 491.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002719/0.1159, allocations: 1.676 MB / 492.9 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1175, allocations: 1.065 MB / 493.9 MB, free: 5.285 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1176, allocations: 3.938 kB / 493.9 MB, free: 5.281 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.1179, allocations: 31.84 kB / 494 MB, free: 5.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.1182, allocations: 63.69 kB / 494 MB, free: 5.188 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.1185, allocations: 107.8 kB / 494.1 MB, free: 5.082 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1187, allocations: 179.5 kB / 494.3 MB, free: 4.906 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1189, allocations: 33.86 kB / 494.3 MB, free: 4.871 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.119, allocations: 71.64 kB / 494.4 MB, free: 4.801 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1192, allocations: 71.69 kB / 494.5 MB, free: 4.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.1192, allocations: 4 kB / 494.5 MB, free: 4.727 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1193, allocations: 47.91 kB / 494.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.1194, allocations: 27.86 kB / 494.6 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.1195, allocations: 85.3 kB / 494.6 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.1198, allocations: 187.3 kB / 494.8 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.1198, allocations: 0 / 494.8 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.1198, allocations: 0 / 494.8 MB, free: 4.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1199, allocations: 0 / 494.8 MB, free: 4.379 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009579/0.1208, allocations: 0.5372 MB / 495.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1209, allocations: 8.031 kB / 495.4 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.1209, allocations: 24.66 kB / 495.4 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.1212, allocations: 240.8 kB / 495.6 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.1213, allocations: 12.38 kB / 495.6 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.1213, allocations: 8.125 kB / 495.6 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.1218, allocations: 160.1 kB / 495.8 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1218, allocations: 8 kB / 495.8 MB, free: 3.273 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.1218, allocations: 7.984 kB / 495.8 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1218, allocations: 0 / 495.8 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.1223, allocations: 135.8 kB / 495.9 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.1229, allocations: 0.5515 MB / 496.5 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.1236, allocations: 182.5 kB / 496.7 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.1239, allocations: 84.8 kB / 496.8 MB, free: 2.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.1239, allocations: 7.938 kB / 496.8 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004654/0.1244, allocations: 151.2 kB / 496.9 MB, free: 2.082 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1244, allocations: 0 / 496.9 MB, free: 2.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008608/0.1253, allocations: 289.3 kB / 497.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.1253, allocations: 55.34 kB / 497.3 MB, free: 1.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1255, allocations: 227.1 kB / 497.5 MB, free: 1.492 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1256, allocations: 25.7 kB / 497.5 MB, free: 1.461 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.1257, allocations: 128.2 kB / 497.6 MB, free: 1.332 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.1257, allocations: 47.62 kB / 497.7 MB, free: 1.285 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-06/0.1257, allocations: 0 / 497.7 MB, free: 1.285 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1258, allocations: 326.8 kB / 498 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.1261, allocations: 83.94 kB / 498.1 MB, free: 0.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.1264, allocations: 120.2 kB / 498.2 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.1269, allocations: 229.8 kB / 498.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1269, allocations: 0 / 498.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006195/0.1275, allocations: 267 kB / 498.7 MB, free: 228 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.1275, allocations: 33.69 kB / 498.7 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.1276, allocations: 0 / 498.7 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1276, allocations: 4 kB / 498.7 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.1278, allocations: 55.97 kB / 498.8 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.1278, allocations: 0 / 498.8 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.128, allocations: 35.81 kB / 498.8 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.128, allocations: 8 kB / 498.8 MB, free: 84 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001389/0.1282, allocations: 137.8 kB / 498.9 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.1282, allocations: 15.81 kB / 499 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.1283, allocations: 21.41 kB / 499 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1283, allocations: 7.922 kB / 499 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1283, allocations: 0 / 499 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1283, allocations: 3.984 kB / 499 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.1285, allocations: 237.4 kB / 499.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1285, allocations: 0 / 499.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.1287, allocations: 39.97 kB / 499.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1287, allocations: 0 / 499.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1287, allocations: 0 / 499.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1287, allocations: 7.938 kB / 499.3 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1287, allocations: 0 / 499.3 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008646/0.1296, allocations: 344.6 kB / 499.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.1297, allocations: 96.94 kB / 499.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.1297, allocations: 0 / 499.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.1299, allocations: 35.91 kB / 499.7 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.13, allocations: 20.03 kB / 499.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.13, allocations: 8 kB / 499.8 MB, free: 15.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.1302, allocations: 160.6 kB / 499.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1302, allocations: 0 / 499.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.1304, allocations: 47.91 kB / 500 MB, free: 14.83 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009502/0.1314, allocations: 471.2 kB / 0.4887 GB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006253/0.132, allocations: 247.3 kB / 0.4889 GB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.132, allocations: 3.938 kB / 0.4889 GB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.1324, allocations: 87.92 kB / 0.489 GB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1327, allocations: 51.69 kB / 0.4891 GB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.1334, allocations: 362 kB / 0.4894 GB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1337, allocations: 0.7243 MB / 0.4901 GB, free: 12.97 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.1338, allocations: 25.55 kB / 0.4902 GB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.1338, allocations: 23.42 kB / 0.4902 GB, free: 12.93 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1339, allocations: 0 / 0.4902 GB, free: 12.93 MB / 346.7 MB Notification: Performance of Templates: time 0.0057/0.1396, allocations: 2.562 MB / 0.4927 GB, free: 10.37 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)