Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 95.34 kB / 15.68 MB, free: 488 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.001595/0.001596, allocations: 177.8 kB / 16.57 MB, free: 6.844 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.442/1.442, 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.317/0.317, allocations: 43.54 MB / 314.5 MB, free: 8.754 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.0005338/0.000534, allocations: 20 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.001815/0.1309, allocations: 1.388 MB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1327, allocations: 1.301 MB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.879e-05/0.1328, allocations: 0 / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.1331, allocations: 31.84 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.1333, allocations: 47.81 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1336, allocations: 75.8 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1337, allocations: 55.91 kB / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.775e-05/0.1338, allocations: 20.14 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.1339, allocations: 43.78 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1341, allocations: 27.84 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1341, allocations: 0 / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1342, allocations: 47.91 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.1343, allocations: 8 kB / 445.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.1343, allocations: 41.64 kB / 445.8 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1345, allocations: 92.08 kB / 445.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.1345, allocations: 0 / 445.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1345, allocations: 0 / 445.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1345, allocations: 0 / 445.9 MB, free: 9.875 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.0005115/0.135, allocations: 390.9 kB / 446.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1351, allocations: 12.03 kB / 446.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.1351, allocations: 11.89 kB / 446.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.1354, allocations: 202.8 kB / 446.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1355, allocations: 8 kB / 446.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1355, allocations: 3.984 kB / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1357, allocations: 71.39 kB / 446.6 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1357, allocations: 3.953 kB / 446.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1357, allocations: 0 / 446.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1357, allocations: 0 / 446.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.1358, allocations: 23.92 kB / 446.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.1362, allocations: 281 kB / 446.9 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.1364, allocations: 46.69 kB / 447 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.1364, allocations: 7.953 kB / 447 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.1366, allocations: 75.44 kB / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1366, allocations: 4 kB / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005641/0.1372, allocations: 173.2 kB / 447.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.647e-05/0.1373, allocations: 77.11 kB / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.1375, allocations: 149.8 kB / 447.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1375, allocations: 29.7 kB / 447.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1376, allocations: 96.12 kB / 447.6 MB, free: 8.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1376, allocations: 27.64 kB / 447.6 MB, free: 8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.1377, allocations: 0 / 447.6 MB, free: 8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1378, allocations: 326.8 kB / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.1378, allocations: 19.98 kB / 447.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.138, allocations: 46.5 kB / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.138, allocations: 23.95 kB / 448 MB, free: 7.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.138, allocations: 0 / 448 MB, free: 7.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001985/0.1382, allocations: 101.5 kB / 448.1 MB, free: 7.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1383, allocations: 4.062 kB / 448.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1383, allocations: 4 kB / 448.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1383, allocations: 4 kB / 448.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.1384, allocations: 15.94 kB / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1384, allocations: 3.938 kB / 448.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.319e-05/0.1385, allocations: 7.984 kB / 448.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1385, allocations: 4 kB / 448.1 MB, free: 7.426 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.0001083/0.1386, allocations: 129.4 kB / 448.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.1386, allocations: 7.906 kB / 448.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.1387, allocations: 20.7 kB / 448.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1387, allocations: 4 kB / 448.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1387, allocations: 0 / 448.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1387, allocations: 0 / 448.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.1392, allocations: 387.3 kB / 448.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1392, allocations: 0 / 448.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.1392, allocations: 8 kB / 448.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1392, allocations: 3.984 kB / 448.7 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1392, allocations: 8.031 kB / 448.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1392, allocations: 4 kB / 448.7 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1393, allocations: 0 / 448.7 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.1395, allocations: 217.8 kB / 448.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.1396, allocations: 85 kB / 449 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1396, allocations: 7.984 kB / 449 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.1397, allocations: 12.38 kB / 449 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.1397, allocations: 3.984 kB / 449 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1398, allocations: 8 kB / 449 MB, free: 6.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.672e-05/0.1399, allocations: 119.2 kB / 449.1 MB, free: 6.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1399, allocations: 0 / 449.1 MB, free: 6.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1401, allocations: 32 kB / 449.2 MB, free: 6.285 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.001062/0.1412, allocations: 0.5009 MB / 449.7 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1414, allocations: 55.92 kB / 449.7 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1414, allocations: 0 / 449.7 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.1415, allocations: 35.92 kB / 449.8 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.1418, allocations: 19.98 kB / 449.8 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.1423, allocations: 210.2 kB / 450 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.1427, allocations: 0.6965 MB / 450.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.526e-05/0.1428, allocations: 21.17 kB / 450.7 MB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.1429, allocations: 15.44 kB / 450.7 MB, free: 4.707 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1429, allocations: 3.938 kB / 450.7 MB, free: 4.703 MB / 382.1 MB Notification: Performance of Templates: time 0.005177/0.1481, allocations: 1.837 MB / 452.6 MB, free: 2.867 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches