Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009448/0.0009445, allocations: 95.25 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009187/0.0009187, allocations: 176 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3256/0.3256, allocations: 43.54 MB / 314.5 MB, free: 8.988 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004442, allocations: 20 kB / 383.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 58.85 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.001801/0.1193, allocations: 1.384 MB / 444.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009743/0.1203, allocations: 0.7344 MB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.1204, allocations: 0 / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1206, allocations: 83.75 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.1208, allocations: 67.83 kB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.121, allocations: 67.8 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1212, allocations: 67.84 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.1212, allocations: 12.22 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.373e-05/0.1213, allocations: 47.83 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.1214, allocations: 43.83 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1214, allocations: 0 / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-05/0.1215, allocations: 31.92 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.1215, allocations: 19.92 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.1216, allocations: 37.64 kB / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.1217, allocations: 88.08 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.1217, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1217, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1217, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 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.0004233/0.1222, allocations: 414.8 kB / 445.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1222, allocations: 8.031 kB / 445.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.1222, allocations: 15.81 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.1225, allocations: 219.5 kB / 446.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1225, allocations: 0 / 446.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1225, allocations: 4 kB / 446.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1226, allocations: 53.67 kB / 446.1 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1226, allocations: 0 / 446.1 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1227, allocations: 0 / 446.1 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1227, allocations: 7.953 kB / 446.1 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.631e-05/0.1227, allocations: 19.98 kB / 446.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.123, allocations: 292.9 kB / 446.4 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.1232, allocations: 50.62 kB / 446.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1232, allocations: 0 / 446.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.1234, allocations: 75.47 kB / 446.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1234, allocations: 0 / 446.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004859/0.1239, allocations: 189 kB / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1239, allocations: 51.41 kB / 446.8 MB, free: 9.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1241, allocations: 210.3 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1241, allocations: 29.64 kB / 447 MB, free: 8.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.1242, allocations: 112.1 kB / 447.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1242, allocations: 27.59 kB / 447.2 MB, free: 8.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.1242, allocations: 0 / 447.2 MB, free: 8.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.1243, allocations: 322.8 kB / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.1244, allocations: 23.98 kB / 447.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.376e-05/0.1244, allocations: 33.7 kB / 447.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.1245, allocations: 20 kB / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1245, allocations: 4 kB / 447.6 MB, free: 8.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001593/0.1247, allocations: 101.5 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1247, allocations: 15.89 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1247, allocations: 0 / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1247, allocations: 0 / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.1248, allocations: 12 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1248, allocations: 7.984 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.1249, allocations: 3.906 kB / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1249, allocations: 8 kB / 447.7 MB, free: 8.082 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.621e-05/0.125, allocations: 137.8 kB / 447.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.125, allocations: 7.906 kB / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.125, allocations: 21.36 kB / 447.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.125, allocations: 0 / 447.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.125, allocations: 0 / 447.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1251, allocations: 0 / 447.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.1254, allocations: 399.3 kB / 448.3 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1254, allocations: 4.031 kB / 448.3 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.1255, allocations: 8 kB / 448.3 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1255, allocations: 0 / 448.3 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1255, allocations: 8 kB / 448.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1255, allocations: 0 / 448.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1255, allocations: 0 / 448.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.1257, allocations: 225.8 kB / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/0.1258, allocations: 89.38 kB / 448.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1258, allocations: 4 kB / 448.6 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.1259, allocations: 8 kB / 448.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.1259, allocations: 7.984 kB / 448.6 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1259, allocations: 4 kB / 448.6 MB, free: 7.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.126, allocations: 156.4 kB / 448.8 MB, free: 6.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1261, allocations: 0 / 448.8 MB, free: 6.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1263, allocations: 27.92 kB / 448.8 MB, free: 6.887 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009111/0.1272, allocations: 460.4 kB / 449.2 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.1274, allocations: 67.88 kB / 449.3 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1274, allocations: 4.062 kB / 449.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.021e-05/0.1275, allocations: 28 kB / 449.3 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1277, allocations: 35.77 kB / 449.4 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.1281, allocations: 250.1 kB / 449.6 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1283, allocations: 0.7199 MB / 450.3 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.454e-05/0.1283, allocations: 8.891 kB / 450.4 MB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.1284, allocations: 19.42 kB / 450.4 MB, free: 5.281 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1284, allocations: 4 kB / 450.4 MB, free: 5.277 MB / 382.1 MB Notification: Performance of Templates: time 0.003769/0.1322, allocations: 1.587 MB / 452 MB, free: 3.691 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches