Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008853/0.0008849, allocations: 99.03 kB / 17 MB, free: 6.398 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.0007857/0.0007857, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.441/1.441, allocations: 223.3 MB / 241.9 MB, free: 256 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.2085/0.2085, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 17.78 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002276/0.1403, allocations: 1.39 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1416, allocations: 0.7997 MB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.1417, allocations: 0 / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.1421, allocations: 47.83 kB / 473.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.1423, allocations: 43.83 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1426, allocations: 83.84 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1427, allocations: 87.69 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.1429, allocations: 4.234 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.093e-05/0.1429, allocations: 35.8 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.143, allocations: 35.83 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1431, allocations: 4 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.414e-05/0.1431, allocations: 28 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.1432, allocations: 23.91 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.1433, allocations: 37.64 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1434, allocations: 80.09 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1434, allocations: 0 / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1434, allocations: 0 / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1434, allocations: 4 kB / 474.3 MB, free: 10.97 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.0005336/0.144, allocations: 398.9 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.144, allocations: 12.03 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.1441, allocations: 7.906 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1443, allocations: 210.8 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1443, allocations: 0 / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1444, allocations: 4 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.1446, allocations: 61.56 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1446, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1446, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1446, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.881e-05/0.1447, allocations: 19.98 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.1452, allocations: 284.9 kB / 475.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1454, allocations: 66.61 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.1454, allocations: 16.86 kB / 475.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1454, allocations: 3.984 kB / 475.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1456, allocations: 71.39 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1456, allocations: 0 / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005215/0.1462, allocations: 165.2 kB / 475.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1462, allocations: 59.39 kB / 475.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1464, allocations: 178.2 kB / 475.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1464, allocations: 29.7 kB / 475.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.1465, allocations: 108.1 kB / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.1465, allocations: 31.62 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.1465, allocations: 0 / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1467, allocations: 326.8 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.424e-05/0.1467, allocations: 16 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.434e-05/0.1468, allocations: 41.64 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.981e-05/0.1469, allocations: 20 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1469, allocations: 7.938 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.1471, allocations: 105.4 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1471, allocations: 4 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1471, allocations: 0 / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1471, allocations: 4 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.694e-05/0.1472, allocations: 16.36 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1472, allocations: 0 / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.1473, allocations: 4 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1473, allocations: 12.19 kB / 476.5 MB, free: 8.504 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.0001025/0.1474, allocations: 130.3 kB / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.1474, allocations: 11.84 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.1475, allocations: 12.72 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1475, allocations: 4 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1475, allocations: 0 / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1475, allocations: 3.984 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004172/0.1479, allocations: 399.4 kB / 477.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1479, allocations: 4.031 kB / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.148, allocations: 11.94 kB / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.148, allocations: 4 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.148, allocations: 0 / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.148, allocations: 0 / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.148, allocations: 0 / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.1482, allocations: 204.2 kB / 477.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.1483, allocations: 93 kB / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1483, allocations: 8 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.443e-05/0.1484, allocations: 0 / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1484, allocations: 15.91 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1485, allocations: 4 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1486, allocations: 147.2 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1486, allocations: 0 / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1489, allocations: 20 kB / 477.6 MB, free: 7.344 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.001235/0.1501, allocations: 468.4 kB / 478.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.1503, allocations: 59.89 kB / 478.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1503, allocations: 0 / 478.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.1504, allocations: 36.05 kB / 478.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1508, allocations: 31.88 kB / 478.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.1513, allocations: 234.4 kB / 478.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.1517, allocations: 0.7043 MB / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.296e-05/0.1517, allocations: 17.17 kB / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.1518, allocations: 15.44 kB / 479.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1518, allocations: 3.938 kB / 479.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of Templates: time 0.004554/0.1563, allocations: 1.595 MB / 480.7 MB, free: 4.328 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches