Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 115.2 kB / 18.45 MB, free: 4.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001585, allocations: 194.8 kB / 21.39 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 222.9 MB / 247.1 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4122/0.4122, allocations: 44.24 MB / 343.5 MB, free: 7.59 MB / 270.1 MB " [Timeout remaining time 179] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 70.03 kB / 479.4 MB, free: 24.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1444, allocations: 60.82 MB / 0.5276 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00331/0.1478, allocations: 1.71 MB / 0.5293 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1494, allocations: 0.8963 MB / 0.5301 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.721e-05/0.1495, allocations: 3.938 kB / 0.5301 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.1499, allocations: 107.7 kB / 0.5302 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.1502, allocations: 91.58 kB / 0.5303 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.1506, allocations: 111.4 kB / 0.5304 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1508, allocations: 111.7 kB / 0.5305 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.151, allocations: 15.98 kB / 0.5305 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1511, allocations: 59.77 kB / 0.5306 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1512, allocations: 71.73 kB / 0.5307 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.1513, allocations: 4 kB / 0.5307 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.1514, allocations: 51.98 kB / 0.5307 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.1515, allocations: 27.92 kB / 0.5308 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.1516, allocations: 39.67 kB / 0.5308 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.1518, allocations: 143.3 kB / 0.5309 GB, free: 9.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1519, allocations: 0 / 0.5309 GB, free: 9.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1519, allocations: 0 / 0.5309 GB, free: 9.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.1519, allocations: 3.984 kB / 0.5309 GB, free: 9.617 MB / 398.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.000695/0.1526, allocations: 446.5 kB / 0.5314 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1526, allocations: 8.031 kB / 0.5314 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.1527, allocations: 16.84 kB / 0.5314 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.153, allocations: 224.8 kB / 0.5316 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1531, allocations: 8.312 kB / 0.5316 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1531, allocations: 12.12 kB / 0.5316 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1533, allocations: 61.59 kB / 0.5317 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1533, allocations: 0 / 0.5317 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1533, allocations: 8 kB / 0.5317 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1533, allocations: 0 / 0.5317 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.489e-05/0.1534, allocations: 19.98 kB / 0.5317 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.1539, allocations: 304.8 kB / 0.532 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1541, allocations: 62.48 kB / 0.5321 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.1542, allocations: 16.98 kB / 0.5321 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.1542, allocations: 15.98 kB / 0.5321 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.1544, allocations: 67.44 kB / 0.5321 GB, free: 8.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.1544, allocations: 0 / 0.5321 GB, free: 8.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007877/0.1552, allocations: 245.2 kB / 0.5324 GB, free: 7.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.1553, allocations: 59.33 kB / 0.5324 GB, free: 7.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.1555, allocations: 238.4 kB / 0.5327 GB, free: 7.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.1556, allocations: 29.7 kB / 0.5327 GB, free: 7.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.1556, allocations: 112.1 kB / 0.5328 GB, free: 7.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.1557, allocations: 39.67 kB / 0.5328 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.1557, allocations: 29.72 kB / 0.5329 GB, free: 7.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1559, allocations: 326.8 kB / 0.5332 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.156, allocations: 27.98 kB / 0.5332 GB, free: 7.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.283e-05/0.1561, allocations: 49.62 kB / 0.5333 GB, free: 7.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1562, allocations: 77.72 kB / 0.5333 GB, free: 6.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1563, allocations: 0 / 0.5333 GB, free: 6.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002254/0.1565, allocations: 129.5 kB / 0.5334 GB, free: 6.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1565, allocations: 5.719 kB / 0.5335 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1565, allocations: 4 kB / 0.5335 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1565, allocations: 0 / 0.5335 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/0.1566, allocations: 23.92 kB / 0.5335 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1566, allocations: 11.97 kB / 0.5335 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.1567, allocations: 0 / 0.5335 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1567, allocations: 8 kB / 0.5335 GB, free: 6.746 MB / 398.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.0001239/0.1568, allocations: 137.8 kB / 0.5336 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.1569, allocations: 11.91 kB / 0.5336 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.1569, allocations: 21.39 kB / 0.5337 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.157, allocations: 4 kB / 0.5337 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.157, allocations: 7.938 kB / 0.5337 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.157, allocations: 0 / 0.5337 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.1576, allocations: 463.9 kB / 0.5341 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1576, allocations: 0 / 0.5341 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.1577, allocations: 15.98 kB / 0.5341 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1577, allocations: 0 / 0.5341 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1577, allocations: 4 kB / 0.5341 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1577, allocations: 0 / 0.5341 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1577, allocations: 3.938 kB / 0.5341 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.158, allocations: 237.2 kB / 0.5344 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.1581, allocations: 93 kB / 0.5345 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.1581, allocations: 0 / 0.5345 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.1582, allocations: 11.94 kB / 0.5345 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.1583, allocations: 11.97 kB / 0.5345 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1583, allocations: 8 kB / 0.5345 GB, free: 5.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1585, allocations: 188.3 kB / 0.5347 GB, free: 5.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1585, allocations: 0 / 0.5347 GB, free: 5.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1587, allocations: 27.94 kB / 0.5347 GB, free: 5.406 MB / 398.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.001911/0.1607, allocations: 0.5071 MB / 0.5352 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.1609, allocations: 91.78 kB / 0.5353 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.161, allocations: 64 / 0.5353 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.1611, allocations: 43.92 kB / 0.5353 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1614, allocations: 36.98 kB / 0.5354 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.162, allocations: 300.2 kB / 0.5356 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.1625, allocations: 0.7273 MB / 0.5363 GB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.099e-05/0.1625, allocations: 16.64 kB / 0.5364 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.1626, allocations: 19.42 kB / 0.5364 GB, free: 3.824 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1626, allocations: 0 / 0.5364 GB, free: 3.824 MB / 398.1 MB Notification: Performance of Templates: time 0.005554/0.1681, allocations: 1.976 MB / 0.5383 GB, free: 1.867 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2515314584597945]