Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 96.44 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.001341/0.001341, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.402/1.402, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3318/0.3318, allocations: 43.54 MB / 314.5 MB, free: 9.027 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.0005102/0.0005103, allocations: 18.97 kB / 383.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.122, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.001989/0.124, allocations: 1.384 MB / 444.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1252, allocations: 0.7344 MB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1254, allocations: 3.938 kB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.1256, allocations: 27.84 kB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1259, allocations: 47.86 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1262, allocations: 71.8 kB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.1264, allocations: 63.84 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.941e-05/0.1265, allocations: 12.22 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/0.1266, allocations: 35.84 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.569e-05/0.1267, allocations: 27.86 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1267, allocations: 4 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1268, allocations: 35.91 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.1269, allocations: 15.92 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.127, allocations: 41.64 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.1271, allocations: 84.09 kB / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1272, allocations: 0 / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1272, allocations: 0 / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1272, allocations: 0 / 445.3 MB, free: 10.68 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.0005383/0.1277, allocations: 414.8 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1278, allocations: 8.031 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.1278, allocations: 11.91 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.1281, allocations: 199.6 kB / 446 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.1281, allocations: 4 kB / 446 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1281, allocations: 3.938 kB / 446 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1283, allocations: 57.61 kB / 446 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1283, allocations: 3.906 kB / 446 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1283, allocations: 4 kB / 446 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1283, allocations: 3.953 kB / 446 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.378e-05/0.1284, allocations: 23.98 kB / 446.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.1288, allocations: 284.9 kB / 446.3 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.129, allocations: 58.61 kB / 446.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.129, allocations: 0 / 446.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.1292, allocations: 75.47 kB / 446.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.1292, allocations: 0 / 446.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005459/0.1297, allocations: 177.1 kB / 446.6 MB, free: 9.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1298, allocations: 51.41 kB / 446.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.13, allocations: 195.3 kB / 446.9 MB, free: 8.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.13, allocations: 29.7 kB / 446.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.1301, allocations: 100.1 kB / 447 MB, free: 8.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.1301, allocations: 23.72 kB / 447 MB, free: 8.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.1301, allocations: 0 / 447 MB, free: 8.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1303, allocations: 326.8 kB / 447.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.49e-05/0.1303, allocations: 19.98 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.868e-05/0.1304, allocations: 37.64 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.892e-05/0.1305, allocations: 24 kB / 447.4 MB, free: 8.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1305, allocations: 0 / 447.4 MB, free: 8.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001755/0.1306, allocations: 117.3 kB / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1307, allocations: 7.953 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1307, allocations: 0 / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1307, allocations: 0 / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1308, allocations: 16 kB / 447.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1308, allocations: 3.984 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.1309, allocations: 8 kB / 447.6 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1309, allocations: 160 / 447.6 MB, free: 8.219 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 0.0001118/0.131, allocations: 137.8 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.131, allocations: 11.89 kB / 447.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.1311, allocations: 25.34 kB / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1311, allocations: 4 kB / 447.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1311, allocations: 0 / 447.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1311, allocations: 192 / 447.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.1316, allocations: 399.2 kB / 448.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1316, allocations: 3.938 kB / 448.1 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.1316, allocations: 19.97 kB / 448.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1316, allocations: 0 / 448.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1316, allocations: 0 / 448.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1316, allocations: 4 kB / 448.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1316, allocations: 0 / 448.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.1319, allocations: 210 kB / 448.4 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.1319, allocations: 93 kB / 448.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.132, allocations: 0 / 448.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.132, allocations: 8.375 kB / 448.5 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.1321, allocations: 7.984 kB / 448.5 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1321, allocations: 7.938 kB / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1322, allocations: 156.9 kB / 448.6 MB, free: 7.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1322, allocations: 0 / 448.6 MB, free: 7.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1325, allocations: 23.91 kB / 448.7 MB, free: 7.02 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.0009465/0.1334, allocations: 461 kB / 449.1 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1336, allocations: 55.92 kB / 449.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1336, allocations: 0 / 449.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/0.1337, allocations: 32.05 kB / 449.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.1339, allocations: 27.94 kB / 449.2 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.1344, allocations: 250.3 kB / 449.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1346, allocations: 0.7082 MB / 450.2 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.1347, allocations: 13.19 kB / 450.2 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.1347, allocations: 23.36 kB / 450.2 MB, free: 5.438 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1347, allocations: 0 / 450.2 MB, free: 5.438 MB / 382.1 MB Notification: Performance of Templates: time 0.004587/0.1393, allocations: 1.595 MB / 451.8 MB, free: 3.844 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches