Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 116.5 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002364/0.002364, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.573/1.573, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2463/0.2463, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 63.89 kB / 0.4922 GB, free: 7.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1366, allocations: 65.99 MB / 0.5566 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003813/0.1404, allocations: 1.74 MB / 0.5583 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.1427, allocations: 1.038 MB / 0.5593 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.1428, allocations: 0 / 0.5593 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.1432, allocations: 47.77 kB / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.1436, allocations: 103.5 kB / 0.5595 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.1439, allocations: 79.67 kB / 0.5595 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.1441, allocations: 107.6 kB / 0.5596 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1442, allocations: 16 kB / 0.5597 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.1443, allocations: 47.77 kB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.1444, allocations: 27.86 kB / 0.5597 GB, free: 2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.1444, allocations: 4 kB / 0.5597 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1446, allocations: 47.92 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.1446, allocations: 39.83 kB / 0.5598 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.1447, allocations: 35.69 kB / 0.5598 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.145, allocations: 139.4 kB / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.145, allocations: 0 / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.145, allocations: 4 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.145, allocations: 0 / 0.56 GB, free: 1.734 MB / 414.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.0007268/0.1458, allocations: 454.4 kB / 0.5604 GB, free: 1.242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.1458, allocations: 12.03 kB / 0.5604 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.1459, allocations: 12.84 kB / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.1463, allocations: 231.7 kB / 0.5607 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1463, allocations: 8.375 kB / 0.5607 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.1463, allocations: 4.125 kB / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1465, allocations: 57.67 kB / 0.5607 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1465, allocations: 0 / 0.5607 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1465, allocations: 4 kB / 0.5607 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.1466, allocations: 3.938 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.329e-05/0.1466, allocations: 15.98 kB / 0.5608 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1471, allocations: 304.8 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.1473, allocations: 62.67 kB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.1474, allocations: 16.86 kB / 0.5611 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1474, allocations: 0 / 0.5611 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.1475, allocations: 67.31 kB / 0.5612 GB, free: 348 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1475, allocations: 4 kB / 0.5612 GB, free: 344 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006287/0.1482, allocations: 181.3 kB / 0.5614 GB, free: 156 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1482, allocations: 63.34 kB / 0.5614 GB, free: 80 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.1486, allocations: 284.2 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.1486, allocations: 25.7 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.1487, allocations: 116.1 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.1487, allocations: 23.84 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.1488, allocations: 21.72 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1489, allocations: 334.8 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/0.149, allocations: 20 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.1491, allocations: 37.64 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1492, allocations: 65.64 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1492, allocations: 0 / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002308/0.1494, allocations: 105.5 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1495, allocations: 4 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1495, allocations: 4.359 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1495, allocations: 4.031 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1496, allocations: 27.92 kB / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1496, allocations: 0 / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.1497, allocations: 11.94 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1497, allocations: 0 / 0.5625 GB, free: 14.96 MB / 430.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 (10): * Single equations (assignments): 10 * 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.0001439/0.1498, allocations: 142.1 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.1499, allocations: 15.91 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/0.1499, allocations: 21.41 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1499, allocations: 8 kB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1499, allocations: 0 / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.1499, allocations: 7.922 kB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005636/0.1505, allocations: 399.3 kB / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1505, allocations: 7.938 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.1505, allocations: 8 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1505, allocations: 4 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1506, allocations: 3.938 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1506, allocations: 240 / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.1506, allocations: 11.97 kB / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1508, allocations: 208.3 kB / 0.5633 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.1509, allocations: 89.02 kB / 0.5633 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1509, allocations: 3.938 kB / 0.5633 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.169e-05/0.151, allocations: 4 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.1511, allocations: 7.984 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1511, allocations: 12 kB / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.1513, allocations: 216.6 kB / 0.5636 GB, free: 13.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1513, allocations: 0 / 0.5636 GB, free: 13.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1516, allocations: 23.89 kB / 0.5636 GB, free: 13.69 MB / 430.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 (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.00185/0.1534, allocations: 473.1 kB / 0.5641 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.1537, allocations: 51.97 kB / 0.5641 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1537, allocations: 0 / 0.5641 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.1538, allocations: 31.92 kB / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.1542, allocations: 23.22 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.1548, allocations: 349.4 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.1552, allocations: 0.7141 MB / 0.5652 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.1553, allocations: 19.42 kB / 0.5652 GB, free: 12.17 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1553, allocations: 0 / 0.5652 GB, free: 12.17 MB / 430.1 MB Notification: Performance of Templates: time 0.005075/0.1603, allocations: 2.147 MB / 0.5673 GB, free: 10.02 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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: 8.033647890988505]