Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008993/0.0008993, allocations: 96.47 kB / 16.98 MB, free: 5.938 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.000994/0.0009941, allocations: 186.8 kB / 17.87 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003306, allocations: 8 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1375, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002136/0.1397, allocations: 1.387 MB / 472.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.141, allocations: 0.792 MB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.1411, allocations: 0 / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.1413, allocations: 35.77 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1415, allocations: 43.88 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.1418, allocations: 94.7 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.142, allocations: 63.86 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.1421, allocations: 12.22 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.098e-05/0.1422, allocations: 35.84 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.349e-05/0.1423, allocations: 27.86 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1423, allocations: 0 / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.147e-05/0.1424, allocations: 27.98 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.1424, allocations: 11.92 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.1425, allocations: 45.62 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1426, allocations: 88.09 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1426, allocations: 0 / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1426, allocations: 3.938 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.1426, allocations: 0 / 474.1 MB, free: 11.04 MB / 350.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.0005245/0.1432, allocations: 391 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1432, allocations: 12.03 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1433, allocations: 7.906 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1435, allocations: 206.7 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1435, allocations: 4 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1436, allocations: 8 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1437, allocations: 57.62 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1437, allocations: 0 / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1438, allocations: 4 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1438, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.41e-05/0.1439, allocations: 19.98 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.1442, allocations: 284.9 kB / 475.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.1444, allocations: 62.61 kB / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1444, allocations: 0 / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.1446, allocations: 63.52 kB / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1446, allocations: 0 / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005618/0.1452, allocations: 173.2 kB / 475.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.1453, allocations: 59.34 kB / 475.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1455, allocations: 190.2 kB / 475.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1455, allocations: 29.64 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.1456, allocations: 96.14 kB / 475.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.1457, allocations: 27.64 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.1457, allocations: 0 / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.1459, allocations: 326.8 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.945e-05/0.1459, allocations: 23.92 kB / 476.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.146, allocations: 37.7 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.554e-05/0.1461, allocations: 27.95 kB / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1461, allocations: 0 / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001787/0.1463, allocations: 101.4 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1463, allocations: 8 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1463, allocations: 3.984 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1463, allocations: 0 / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.05e-05/0.1464, allocations: 16.03 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1464, allocations: 4 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.1465, allocations: 7.984 kB / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.1465, allocations: 4 kB / 476.3 MB, free: 8.609 MB / 350.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.0001006/0.1466, allocations: 126.3 kB / 476.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.1466, allocations: 11.91 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.1467, allocations: 20.64 kB / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1467, allocations: 0 / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1467, allocations: 0 / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1467, allocations: 4 kB / 476.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.1472, allocations: 395.3 kB / 476.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1472, allocations: 0 / 476.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/0.1472, allocations: 8.375 kB / 476.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1472, allocations: 0 / 476.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1472, allocations: 7.984 kB / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1473, allocations: 8 kB / 476.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1473, allocations: 0 / 476.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.1475, allocations: 213.9 kB / 477.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.1476, allocations: 89.02 kB / 477.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1476, allocations: 3.984 kB / 477.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.1477, allocations: 4 kB / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.1478, allocations: 12.12 kB / 477.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1478, allocations: 7.984 kB / 477.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1479, allocations: 151.1 kB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1479, allocations: 0 / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1482, allocations: 31.94 kB / 477.4 MB, free: 7.422 MB / 350.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.0009817/0.1492, allocations: 460.3 kB / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.1493, allocations: 59.92 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1494, allocations: 0 / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/0.1494, allocations: 27.98 kB / 477.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.1497, allocations: 27.62 kB / 478 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.1501, allocations: 238.4 kB / 478.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.1504, allocations: 0.7082 MB / 478.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.671e-05/0.1504, allocations: 12.89 kB / 478.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.1505, allocations: 19.42 kB / 478.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1505, allocations: 0 / 478.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of Templates: time 0.004126/0.1546, allocations: 1.582 MB / 480.5 MB, free: 4.438 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches