Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001587, allocations: 103.6 kB / 16.93 MB, free: 5.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 191.3 kB / 17.86 MB, free: 5.152 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.659/1.659, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2296/0.2296, allocations: 43.52 MB / 314.6 MB, free: 0.5273 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.00188/0.00188, allocations: 70.97 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1254, allocations: 57.79 MB / 441.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003406/0.1289, allocations: 1.66 MB / 442.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1301, allocations: 0.7805 MB / 443.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.803e-05/0.1302, allocations: 0 / 443.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.1305, allocations: 59.75 kB / 443.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1308, allocations: 55.75 kB / 443.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.1311, allocations: 75.78 kB / 443.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1313, allocations: 95.69 kB / 443.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.1313, allocations: 11.98 kB / 443.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.1314, allocations: 31.86 kB / 444 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.1315, allocations: 27.8 kB / 444 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1315, allocations: 7.984 kB / 444 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.947e-05/0.1316, allocations: 35.94 kB / 444 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.1317, allocations: 27.91 kB / 444.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.1318, allocations: 35.69 kB / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.132, allocations: 111.9 kB / 444.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.132, allocations: 0 / 444.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.132, allocations: 0 / 444.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.132, allocations: 4 kB / 444.2 MB, free: 3.855 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005096/0.1325, allocations: 434.6 kB / 444.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1326, allocations: 11.89 kB / 444.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.1326, allocations: 12.84 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1329, allocations: 227.4 kB / 444.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1329, allocations: 384 / 444.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1329, allocations: 8.125 kB / 444.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1331, allocations: 45.67 kB / 444.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1331, allocations: 4 kB / 444.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1331, allocations: 0 / 444.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1331, allocations: 0 / 444.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.748e-05/0.1332, allocations: 15.98 kB / 445 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.1334, allocations: 189.7 kB / 445.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.1335, allocations: 54.55 kB / 445.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.1336, allocations: 24.8 kB / 445.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1336, allocations: 3.984 kB / 445.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.1339, allocations: 67.3 kB / 445.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.1339, allocations: 4 kB / 445.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002692/0.1341, allocations: 97.45 kB / 445.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.1342, allocations: 55.41 kB / 445.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1344, allocations: 259.7 kB / 445.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.1344, allocations: 25.7 kB / 445.7 MB, free: 2.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.1344, allocations: 108.1 kB / 445.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.1345, allocations: 19.75 kB / 445.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.1345, allocations: 17.72 kB / 445.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.1346, allocations: 330.8 kB / 446.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.1346, allocations: 8 kB / 446.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.205e-05/0.1347, allocations: 37.69 kB / 446.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.602e-05/0.1348, allocations: 53.83 kB / 446.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1348, allocations: 4 kB / 446.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001425/0.135, allocations: 85.44 kB / 446.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.135, allocations: 8 kB / 446.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.135, allocations: 0 / 446.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.135, allocations: 0 / 446.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.1351, allocations: 11.94 kB / 446.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1351, allocations: 8.016 kB / 446.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.079e-05/0.1352, allocations: 4 kB / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1352, allocations: 7.984 kB / 446.4 MB, free: 1.414 MB / 318.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.904e-05/0.1353, allocations: 141.4 kB / 446.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.1353, allocations: 15.81 kB / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.1353, allocations: 20.98 kB / 446.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1353, allocations: 0 / 446.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1354, allocations: 0 / 446.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1354, allocations: 0 / 446.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1355, allocations: 197.6 kB / 446.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1355, allocations: 0 / 446.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.1355, allocations: 4 kB / 446.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1355, allocations: 0 / 446.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1355, allocations: 8 kB / 446.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1355, allocations: 0 / 446.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1355, allocations: 0 / 446.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.1357, allocations: 112.8 kB / 446.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.1357, allocations: 89.02 kB / 447 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1358, allocations: 4 kB / 447 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.1358, allocations: 7.984 kB / 447 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.1359, allocations: 0 / 447 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.1359, allocations: 8.125 kB / 447 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.136, allocations: 195.3 kB / 447.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.136, allocations: 0 / 447.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.1362, allocations: 23.98 kB / 447.2 MB, free: 0.5117 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009627/0.1372, allocations: 410.9 kB / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1374, allocations: 43.92 kB / 447.7 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1374, allocations: 0 / 447.7 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.793e-05/0.1375, allocations: 19.98 kB / 447.7 MB, free: 140 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1377, allocations: 36.05 kB / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/0.1383, allocations: 296.4 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1387, allocations: 0.7118 MB / 448.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.1387, allocations: 15.44 kB / 448.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1388, allocations: 4 kB / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of Templates: time 0.004231/0.143, allocations: 1.825 MB / 450.6 MB, free: 13.2 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches