Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 94.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.0008316/0.0008316, allocations: 183.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.391/1.391, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003409, allocations: 12 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002189/0.1374, allocations: 1.379 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1387, allocations: 0.7919 MB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.1388, allocations: 0 / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.1391, allocations: 35.84 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.1393, allocations: 51.8 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1397, allocations: 91.39 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.1399, allocations: 71.78 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.14, allocations: 12.16 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.1401, allocations: 39.84 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.1401, allocations: 35.84 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1402, allocations: 4 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.1403, allocations: 20 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.1403, allocations: 31.89 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.1404, allocations: 37.64 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1405, allocations: 92.09 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1405, allocations: 0 / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.9e-06/0.1406, allocations: 4 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1406, allocations: 3.938 kB / 474.2 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.0005387/0.1411, allocations: 426.6 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1412, allocations: 12.03 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.1412, allocations: 7.906 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1415, allocations: 210.8 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1415, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1415, allocations: 4 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1417, allocations: 57.62 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1417, allocations: 0 / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1417, allocations: 4 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1417, allocations: 0 / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.1418, allocations: 23.92 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.1423, allocations: 296.9 kB / 475.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1425, allocations: 54.69 kB / 475.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.1425, allocations: 4 kB / 475.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.1428, allocations: 79.44 kB / 475.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.1428, allocations: 0 / 475.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005451/0.1433, allocations: 181 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.1434, allocations: 51.41 kB / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.1437, allocations: 266.3 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1437, allocations: 29.7 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.1438, allocations: 120.1 kB / 475.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.1438, allocations: 19.72 kB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.1438, allocations: 0 / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.144, allocations: 330.8 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.144, allocations: 15.98 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.1441, allocations: 41.64 kB / 476.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.1442, allocations: 27.95 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1442, allocations: 4 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001953/0.1444, allocations: 105.4 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1444, allocations: 8 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1444, allocations: 0 / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.1444, allocations: 0 / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.1445, allocations: 19.92 kB / 476.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1445, allocations: 4 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.1446, allocations: 4 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1446, allocations: 4 kB / 476.5 MB, free: 8.449 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.0001173/0.1447, allocations: 146.3 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.1448, allocations: 11.81 kB / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.1448, allocations: 21.39 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1448, allocations: 4 kB / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1448, allocations: 0 / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1448, allocations: 0 / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.1453, allocations: 403.3 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1453, allocations: 4.031 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.1453, allocations: 12 kB / 477.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1454, allocations: 3.984 kB / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1454, allocations: 0 / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1454, allocations: 4 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1454, allocations: 0 / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.1456, allocations: 221.8 kB / 477.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.1457, allocations: 92.91 kB / 477.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.1457, allocations: 4 kB / 477.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.1458, allocations: 4 kB / 477.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.1458, allocations: 8.359 kB / 477.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.1458, allocations: 4 kB / 477.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.146, allocations: 200.5 kB / 477.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.146, allocations: 3.938 kB / 477.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1463, allocations: 27.95 kB / 477.7 MB, free: 7.188 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.0009975/0.1473, allocations: 463.2 kB / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.1475, allocations: 63.91 kB / 478.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1475, allocations: 0 / 478.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.53e-05/0.1475, allocations: 27.92 kB / 478.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1478, allocations: 30.33 kB / 478.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.1483, allocations: 299 kB / 478.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1486, allocations: 0.7238 MB / 479.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.504e-05/0.1486, allocations: 12.89 kB / 479.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.1487, allocations: 19.42 kB / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1487, allocations: 0 / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of Templates: time 0.004739/0.1534, allocations: 1.606 MB / 480.9 MB, free: 4.09 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches