Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 93.42 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.001293/0.001293, allocations: 171.3 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.588/1.588, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2363/0.2363, allocations: 44.24 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 12.62 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1211, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002215/0.1234, allocations: 1.592 MB / 473.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.125, allocations: 0.9512 MB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1251, allocations: 8 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005446/0.1257, allocations: 243.5 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.126, allocations: 167.5 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.1266, allocations: 162.1 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.1269, allocations: 247.3 kB / 475.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1271, allocations: 29.61 kB / 475.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1273, allocations: 115.5 kB / 475.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.1275, allocations: 179.4 kB / 475.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1276, allocations: 4 kB / 475.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.1277, allocations: 59.97 kB / 476 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1279, allocations: 63.77 kB / 476.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.128, allocations: 113 kB / 476.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.1283, allocations: 227.4 kB / 476.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1283, allocations: 7.938 kB / 476.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1284, allocations: 0 / 476.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1284, allocations: 0 / 476.4 MB, free: 9.148 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000868/0.1292, allocations: 0.5332 MB / 476.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.1293, allocations: 8.031 kB / 476.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.1294, allocations: 32.56 kB / 477 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.1297, allocations: 276.1 kB / 477.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1297, allocations: 4.375 kB / 477.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.1298, allocations: 16.11 kB / 477.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.13, allocations: 107.3 kB / 477.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1301, allocations: 7.906 kB / 477.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.1301, allocations: 7.984 kB / 477.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1301, allocations: 3.938 kB / 477.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.1302, allocations: 51.89 kB / 477.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.1308, allocations: 480.7 kB / 477.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.1311, allocations: 125.2 kB / 478 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/0.1312, allocations: 45.81 kB / 478.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1313, allocations: 4 kB / 478.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.1316, allocations: 128.2 kB / 478.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.1316, allocations: 0 / 478.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001336/0.1329, allocations: 0.4998 MB / 478.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.133, allocations: 89.11 kB / 478.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.1335, allocations: 477.6 kB / 479.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.1336, allocations: 33.7 kB / 479.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1337, allocations: 160.5 kB / 479.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.1338, allocations: 71 kB / 479.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.1338, allocations: 25.7 kB / 479.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1339, allocations: 342.8 kB / 479.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.1341, allocations: 63.91 kB / 479.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1342, allocations: 95.34 kB / 480 MB, free: 5.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.1345, allocations: 151.3 kB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1345, allocations: 0 / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003737/0.1349, allocations: 237.5 kB / 480.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1349, allocations: 7.938 kB / 480.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1349, allocations: 7.938 kB / 480.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1349, allocations: 0 / 480.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1351, allocations: 47.91 kB / 480.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1351, allocations: 0 / 480.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.159e-05/0.1352, allocations: 8 kB / 480.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.1352, allocations: 8 kB / 480.5 MB, free: 4.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001713/0.1354, allocations: 190.2 kB / 480.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1354, allocations: 35.56 kB / 480.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.669e-05/0.1355, allocations: 38.81 kB / 480.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1355, allocations: 4 kB / 480.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1355, allocations: 3.938 kB / 480.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1355, allocations: 3.984 kB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008836/0.1364, allocations: 0.7388 MB / 481.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.1364, allocations: 4 kB / 481.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.852e-05/0.1365, allocations: 27.98 kB / 481.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1365, allocations: 4 kB / 481.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.1366, allocations: 8 kB / 481.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.1366, allocations: 11.92 kB / 481.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1366, allocations: 0 / 481.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.137, allocations: 421.8 kB / 482 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.163e-05/0.1371, allocations: 108.7 kB / 482.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.1372, allocations: 15.94 kB / 482.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1373, allocations: 7.984 kB / 482.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.1374, allocations: 23.92 kB / 482.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.1374, allocations: 11.98 kB / 482.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003442/0.1378, allocations: 359.1 kB / 482.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1378, allocations: 192 / 482.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003739/0.1382, allocations: 51.98 kB / 482.5 MB, free: 2.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001272/0.1394, allocations: 0.5192 MB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.1398, allocations: 159.8 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1398, allocations: 0 / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.14, allocations: 83.84 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.1405, allocations: 65.69 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009022/0.1415, allocations: 0.66 MB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.1418, allocations: 0.7809 MB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.1419, allocations: 33.94 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.142, allocations: 31.42 kB / 484.9 MB, free: 428 kB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.142, allocations: 0 / 484.9 MB, free: 428 kB / 350.1 MB Notification: Performance of Templates: time 0.006155/0.1482, allocations: 2.951 MB / 487.8 MB, free: 13.5 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches