Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001581/0.001582, allocations: 117.1 kB / 19.13 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001703/0.001703, allocations: 206.6 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.4 MB / 252.3 MB, free: 276 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2529/0.2529, allocations: 46.18 MB / 351.8 MB, free: 14.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 79.25 kB / 491 MB, free: 27.78 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1443, allocations: 62.46 MB / 0.5405 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00343/0.1478, allocations: 1.924 MB / 0.5423 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1498, allocations: 1.126 MB / 0.5434 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.803e-05/0.15, allocations: 0 / 0.5434 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.1505, allocations: 223.4 kB / 0.5437 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.1509, allocations: 231.1 kB / 0.5439 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1512, allocations: 115.6 kB / 0.544 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.1516, allocations: 247.4 kB / 0.5442 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1517, allocations: 33.59 kB / 0.5443 GB, free: 264 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.1519, allocations: 123.5 kB / 0.5444 GB, free: 140 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1521, allocations: 151.5 kB / 0.5445 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.1521, allocations: 8 kB / 0.5445 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.1523, allocations: 67.97 kB / 0.5446 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.429e-05/0.1524, allocations: 63.7 kB / 0.5446 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1525, allocations: 87.3 kB / 0.5447 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.1528, allocations: 238.9 kB / 0.545 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1529, allocations: 4 kB / 0.545 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1529, allocations: 0 / 0.545 GB, free: 15.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1529, allocations: 0 / 0.545 GB, free: 15.53 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007827/0.1537, allocations: 0.5795 MB / 0.5455 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1537, allocations: 8.031 kB / 0.5455 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.1538, allocations: 32.75 kB / 0.5456 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.1542, allocations: 292.2 kB / 0.5458 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1542, allocations: 4.375 kB / 0.5459 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.1543, allocations: 8.375 kB / 0.5459 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.1545, allocations: 123.5 kB / 0.546 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1545, allocations: 4 kB / 0.546 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1546, allocations: 4 kB / 0.546 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1546, allocations: 4 kB / 0.546 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.1547, allocations: 43.95 kB / 0.546 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.1553, allocations: 472.7 kB / 0.5465 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.1557, allocations: 129.2 kB / 0.5466 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1559, allocations: 41.83 kB / 0.5466 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1559, allocations: 4 kB / 0.5466 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.1562, allocations: 125.1 kB / 0.5468 GB, free: 13.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.1562, allocations: 3.938 kB / 0.5468 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001394/0.1576, allocations: 0.4975 MB / 0.5473 GB, free: 12.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.1576, allocations: 85.05 kB / 0.5473 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.1581, allocations: 444.5 kB / 0.5478 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.1582, allocations: 37.7 kB / 0.5478 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1583, allocations: 160.5 kB / 0.5479 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/0.1584, allocations: 67.42 kB / 0.548 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/0.1585, allocations: 41.72 kB / 0.5481 GB, free: 12.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1586, allocations: 346.8 kB / 0.5484 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.1588, allocations: 55.97 kB / 0.5484 GB, free: 11.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.159, allocations: 95.34 kB / 0.5485 GB, free: 11.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.1593, allocations: 167.3 kB / 0.5487 GB, free: 11.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1593, allocations: 0 / 0.5487 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004322/0.1597, allocations: 229.5 kB / 0.5489 GB, free: 11.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1597, allocations: 8.062 kB / 0.5489 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1597, allocations: 4.234 kB / 0.5489 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1598, allocations: 3.938 kB / 0.5489 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1599, allocations: 47.91 kB / 0.549 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1599, allocations: 3.984 kB / 0.549 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.873e-05/0.16, allocations: 11.95 kB / 0.549 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.1601, allocations: 12 kB / 0.549 GB, free: 11.11 MB / 414.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.0001729/0.1602, allocations: 169.7 kB / 0.5492 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.1603, allocations: 35.75 kB / 0.5492 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.541e-05/0.1604, allocations: 50.73 kB / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1604, allocations: 4 kB / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1604, allocations: 0 / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1604, allocations: 0 / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.1614, allocations: 0.7351 MB / 0.55 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1614, allocations: 0 / 0.55 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.203e-05/0.1615, allocations: 35.92 kB / 0.55 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1615, allocations: 4.188 kB / 0.55 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1616, allocations: 4 kB / 0.55 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1616, allocations: 7.938 kB / 0.55 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.1616, allocations: 0 / 0.55 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.1621, allocations: 436.7 kB / 0.5504 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.1622, allocations: 100.9 kB / 0.5505 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.1622, allocations: 11.98 kB / 0.5505 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.1624, allocations: 7.984 kB / 0.5505 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.1625, allocations: 31.84 kB / 0.5506 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.1625, allocations: 8 kB / 0.5506 GB, free: 9.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003619/0.1629, allocations: 335 kB / 0.5509 GB, free: 9.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1629, allocations: 0 / 0.5509 GB, free: 9.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.1633, allocations: 47.94 kB / 0.5509 GB, free: 8.98 MB / 414.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.001998/0.1653, allocations: 0.5076 MB / 0.5514 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.1657, allocations: 155.8 kB / 0.5516 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1657, allocations: 0 / 0.5516 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.1659, allocations: 87.78 kB / 0.5517 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.1665, allocations: 60.62 kB / 0.5517 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/0.1675, allocations: 0.5881 MB / 0.5523 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.1679, allocations: 0.7791 MB / 0.5531 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.168, allocations: 27.42 kB / 0.5531 GB, free: 6.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.168, allocations: 4 kB / 0.5531 GB, free: 6.906 MB / 414.1 MB Notification: Performance of Templates: time 0.007329/0.1753, allocations: 3.77 MB / 0.5568 GB, free: 3.148 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference: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 Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 8.253408728982322]