Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009702/0.0009699, allocations: 95.03 kB / 17.35 MB, free: 6.344 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.001109/0.001109, allocations: 173.6 kB / 18.25 MB, free: 5.504 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.522/1.522, allocations: 223.3 MB / 242.3 MB, free: 192 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.2247/0.2247, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.000326, allocations: 12.62 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002272/0.1394, allocations: 1.425 MB / 473.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1409, allocations: 0.8499 MB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.141, allocations: 0 / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.1414, allocations: 87.75 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.1417, allocations: 67.8 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.142, allocations: 95.83 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.1422, allocations: 107.7 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1424, allocations: 8 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1425, allocations: 55.7 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1426, allocations: 55.77 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.1426, allocations: 3.984 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.1428, allocations: 51.98 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.36e-05/0.1429, allocations: 19.92 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.143, allocations: 65.42 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.1432, allocations: 127.8 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1432, allocations: 0 / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1432, allocations: 0 / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1432, allocations: 0 / 475.3 MB, free: 10.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006075/0.1438, allocations: 417.2 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1439, allocations: 8.031 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.1439, allocations: 12.84 kB / 475.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1442, allocations: 216 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1442, allocations: 384 / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.1443, allocations: 8.125 kB / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1444, allocations: 69.58 kB / 476 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1444, allocations: 4 kB / 476 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1445, allocations: 0 / 476 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1445, allocations: 0 / 476 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.1446, allocations: 23.98 kB / 476 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.1451, allocations: 300.8 kB / 476.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.1453, allocations: 66.48 kB / 476.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.1454, allocations: 16.98 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1454, allocations: 4 kB / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.1456, allocations: 71.38 kB / 476.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.1456, allocations: 0 / 476.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008756/0.1465, allocations: 245.5 kB / 476.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.1466, allocations: 59.34 kB / 476.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1468, allocations: 219.1 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1468, allocations: 33.64 kB / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.1469, allocations: 108.1 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.147, allocations: 31.5 kB / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.147, allocations: 21.7 kB / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1471, allocations: 326.8 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.1472, allocations: 27.98 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.74e-05/0.1473, allocations: 44.58 kB / 477.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1474, allocations: 81.7 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1474, allocations: 0 / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002568/0.1477, allocations: 129.4 kB / 477.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1477, allocations: 6.5 kB / 477.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1478, allocations: 4 kB / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1478, allocations: 0 / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1479, allocations: 20 kB / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1479, allocations: 15.86 kB / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.148, allocations: 4.031 kB / 477.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.148, allocations: 4 kB / 477.8 MB, free: 7.516 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.1481, allocations: 130.4 kB / 477.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.1481, allocations: 11.91 kB / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.1482, allocations: 17.41 kB / 478 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1482, allocations: 4 kB / 478 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1482, allocations: 3.938 kB / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1482, allocations: 4 kB / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000575/0.1488, allocations: 459.9 kB / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1488, allocations: 0 / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.1489, allocations: 12 kB / 478.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.1489, allocations: 7.984 kB / 478.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1489, allocations: 4 kB / 478.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1489, allocations: 0 / 478.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1489, allocations: 7.938 kB / 478.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.1492, allocations: 233 kB / 478.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.1493, allocations: 89 kB / 478.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1493, allocations: 8 kB / 478.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.1494, allocations: 0 / 478.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.1495, allocations: 8.078 kB / 478.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.1495, allocations: 19.92 kB / 478.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1497, allocations: 159.2 kB / 479 MB, free: 6.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1497, allocations: 3.938 kB / 479 MB, free: 6.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.15, allocations: 31.98 kB / 479 MB, free: 6.215 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/0.1514, allocations: 0.4955 MB / 479.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.1517, allocations: 83.91 kB / 479.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.1517, allocations: 4.062 kB / 479.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.629e-05/0.1518, allocations: 39.92 kB / 479.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1522, allocations: 35.89 kB / 479.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.1528, allocations: 299.5 kB / 480 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.1532, allocations: 0.7197 MB / 480.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.459e-05/0.1533, allocations: 24.58 kB / 480.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.1534, allocations: 23.42 kB / 480.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1534, allocations: 0 / 480.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of Templates: time 0.005476/0.1589, allocations: 1.858 MB / 482.6 MB, free: 2.801 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches