Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 96.86 kB / 15.7 MB, free: 468 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.001483/0.001483, allocations: 173.9 kB / 16.58 MB, free: 6.848 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.544/1.544, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.3625/0.3625, allocations: 43.57 MB / 314.6 MB, free: 9.086 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.0004807/0.0004807, allocations: 19.98 kB / 384 MB, free: 8.234 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1421, allocations: 58.88 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.001948/0.1441, allocations: 1.391 MB / 444.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1452, allocations: 0.7383 MB / 445 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.1453, allocations: 3.938 kB / 445 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1456, allocations: 47.88 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.1458, allocations: 43.83 kB / 445.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.146, allocations: 79.83 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1462, allocations: 95.69 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.1462, allocations: 16.22 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.469e-05/0.1463, allocations: 47.77 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.1464, allocations: 39.84 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1465, allocations: 4 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.207e-05/0.1465, allocations: 35.97 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.1466, allocations: 19.92 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.1466, allocations: 37.64 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1468, allocations: 100.1 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.1468, allocations: 4 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1468, allocations: 0 / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1468, allocations: 0 / 445.5 MB, free: 10.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004801/0.1473, allocations: 410.8 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1474, allocations: 12.02 kB / 445.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1474, allocations: 7.906 kB / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.1476, allocations: 219.4 kB / 446.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1477, allocations: 3.984 kB / 446.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1477, allocations: 4 kB / 446.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1478, allocations: 69.66 kB / 446.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1479, allocations: 4 kB / 446.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1479, allocations: 3.984 kB / 446.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1479, allocations: 3.953 kB / 446.2 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.148, allocations: 35.97 kB / 446.3 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.1484, allocations: 308.8 kB / 446.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1485, allocations: 82.67 kB / 446.7 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.1486, allocations: 24.84 kB / 446.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.1487, allocations: 8 kB / 446.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.1488, allocations: 87.33 kB / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.1488, allocations: 0 / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005513/0.1494, allocations: 225.1 kB / 447 MB, free: 8.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1494, allocations: 51.41 kB / 447 MB, free: 8.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1496, allocations: 187.2 kB / 447.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1496, allocations: 29.64 kB / 447.3 MB, free: 8.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.1497, allocations: 104.3 kB / 447.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.1497, allocations: 31.64 kB / 447.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.1497, allocations: 0 / 447.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1499, allocations: 322.8 kB / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.1499, allocations: 35.98 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.15, allocations: 41.7 kB / 447.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.689e-05/0.1501, allocations: 31.94 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1501, allocations: 0 / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002035/0.1503, allocations: 137.4 kB / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1503, allocations: 4 kB / 448 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1503, allocations: 3.984 kB / 448 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1503, allocations: 0 / 448 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.1504, allocations: 20.03 kB / 448 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1505, allocations: 4 kB / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.1505, allocations: 3.984 kB / 448 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1505, allocations: 4 kB / 448 MB, free: 7.844 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 (12): * Single equations (assignments): 12 * 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.0001016/0.1506, allocations: 129.8 kB / 448.1 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1507, allocations: 15.77 kB / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.1507, allocations: 21.39 kB / 448.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1507, allocations: 0 / 448.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1507, allocations: 4 kB / 448.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1507, allocations: 0 / 448.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.1512, allocations: 439.4 kB / 448.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1512, allocations: 0 / 448.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.1512, allocations: 11.98 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.1512, allocations: 4 kB / 448.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1513, allocations: 0 / 448.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1513, allocations: 3.938 kB / 448.6 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.1513, allocations: 8.5 kB / 448.6 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.1515, allocations: 232.1 kB / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.1516, allocations: 88.97 kB / 448.9 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.1516, allocations: 8 kB / 448.9 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.1517, allocations: 3.984 kB / 448.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1517, allocations: 4 kB / 448.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.1518, allocations: 11.98 kB / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.902e-05/0.1519, allocations: 140.9 kB / 449.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1519, allocations: 0 / 449.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1522, allocations: 27.98 kB / 449.1 MB, free: 6.605 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 (10): * Single equations (assignments): 8 * 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.0009909/0.1532, allocations: 477.5 kB / 449.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.1534, allocations: 75.91 kB / 449.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1534, allocations: 0 / 449.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.1535, allocations: 39.92 kB / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.1538, allocations: 27.92 kB / 449.7 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.1542, allocations: 270.1 kB / 450 MB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.1545, allocations: 0.7125 MB / 450.7 MB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.644e-05/0.1546, allocations: 25.06 kB / 450.7 MB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.1546, allocations: 23.44 kB / 450.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1546, allocations: 0 / 450.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of Templates: time 0.004171/0.1588, allocations: 1.743 MB / 452.5 MB, free: 3.215 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches