Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 98.44 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.001114/0.001114, allocations: 184.2 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.448/1.448, 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.2382/0.2382, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003445, allocations: 12.5 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1435, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002213/0.1458, allocations: 1.395 MB / 472.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1471, allocations: 0.7919 MB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.409e-05/0.1472, allocations: 0 / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1474, allocations: 31.78 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1477, allocations: 51.86 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.148, allocations: 94.77 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1481, allocations: 63.8 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.1482, allocations: 8.219 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.243e-05/0.1483, allocations: 39.84 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.1484, allocations: 27.86 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1484, allocations: 0 / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.1485, allocations: 27.98 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.1486, allocations: 27.91 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.1486, allocations: 41.64 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1488, allocations: 84.09 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.1488, allocations: 0 / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1488, allocations: 0 / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1488, allocations: 3.938 kB / 474.1 MB, free: 11.03 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.000538/0.1493, allocations: 402.9 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1494, allocations: 8.031 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.1494, allocations: 11.91 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.1497, allocations: 223.2 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1497, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1498, allocations: 4 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1499, allocations: 61.62 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1499, allocations: 3.984 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.15, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.15, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.545e-05/0.15, allocations: 23.98 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.1504, allocations: 296.8 kB / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1506, allocations: 54.67 kB / 475.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1506, allocations: 4 kB / 475.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.1508, allocations: 67.45 kB / 475.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1509, allocations: 0 / 475.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005319/0.1514, allocations: 173.2 kB / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.1515, allocations: 59.33 kB / 475.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.1518, allocations: 222.7 kB / 475.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1518, allocations: 29.7 kB / 475.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.1519, allocations: 108.1 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.1519, allocations: 27.64 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.1519, allocations: 0 / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1521, allocations: 322.8 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.1521, allocations: 31.92 kB / 476.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.1522, allocations: 33.7 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.018e-05/0.1523, allocations: 23.95 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1523, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.1525, allocations: 113.4 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1525, allocations: 4 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1525, allocations: 0 / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1525, allocations: 8.031 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.1526, allocations: 12 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1526, allocations: 0 / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.1527, allocations: 11.97 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1527, allocations: 4 kB / 476.4 MB, free: 8.5 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.0001177/0.1528, allocations: 133.7 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.1529, allocations: 11.89 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.1529, allocations: 17.41 kB / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1529, allocations: 4 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1529, allocations: 0 / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1529, allocations: 0 / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.1534, allocations: 403.2 kB / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1534, allocations: 0 / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.1534, allocations: 8 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1534, allocations: 4 kB / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1534, allocations: 384 / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1535, allocations: 4.031 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1535, allocations: 4 kB / 477 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.1537, allocations: 225.9 kB / 477.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.1538, allocations: 88.92 kB / 477.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1538, allocations: 4 kB / 477.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.1539, allocations: 8 kB / 477.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1539, allocations: 3.984 kB / 477.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.154, allocations: 4 kB / 477.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.1541, allocations: 176.3 kB / 477.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1541, allocations: 3.938 kB / 477.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1544, allocations: 23.95 kB / 477.5 MB, free: 7.285 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.001234/0.1557, allocations: 471.9 kB / 478 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1559, allocations: 59.91 kB / 478.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1559, allocations: 0 / 478.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.156, allocations: 31.92 kB / 478.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1563, allocations: 20.3 kB / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.1569, allocations: 278 kB / 478.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.1573, allocations: 0.7121 MB / 479.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.388e-05/0.1573, allocations: 16.88 kB / 479.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.1574, allocations: 15.44 kB / 479.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1574, allocations: 0 / 479.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of Templates: time 0.004706/0.1621, allocations: 1.595 MB / 480.7 MB, free: 4.238 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches