Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.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.001314/0.001314, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001353/0.001353, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.486/1.486, allocations: 230.2 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2489/0.2489, allocations: 46.89 MB / 358.1 MB, free: 10.52 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-beta.om/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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 75.88 kB / 0.4924 GB, free: 26.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1273, allocations: 65.99 MB / 0.5569 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003335/0.1306, allocations: 1.727 MB / 0.5586 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1325, allocations: 1.039 MB / 0.5596 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.1326, allocations: 3.938 kB / 0.5596 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.1329, allocations: 43.77 kB / 0.5596 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.1332, allocations: 99.53 kB / 0.5597 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1335, allocations: 79.67 kB / 0.5598 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1337, allocations: 95.75 kB / 0.5599 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.1338, allocations: 8 kB / 0.5599 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1339, allocations: 55.77 kB / 0.56 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.483e-05/0.134, allocations: 35.78 kB / 0.56 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.134, allocations: 7.938 kB / 0.56 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1341, allocations: 40 kB / 0.56 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.1342, allocations: 23.91 kB / 0.5601 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.1342, allocations: 39.73 kB / 0.5601 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.1345, allocations: 119.4 kB / 0.5602 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1345, allocations: 0 / 0.5602 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1345, allocations: 0 / 0.5602 GB, free: 5.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1345, allocations: 0 / 0.5602 GB, free: 5.117 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.0006612/0.1351, allocations: 434.6 kB / 0.5606 GB, free: 4.645 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1352, allocations: 8.031 kB / 0.5606 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.1352, allocations: 12.89 kB / 0.5606 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.1356, allocations: 216.1 kB / 0.5609 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1357, allocations: 384 / 0.5609 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1357, allocations: 12.3 kB / 0.5609 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1358, allocations: 57.98 kB / 0.5609 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1359, allocations: 3.984 kB / 0.5609 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1359, allocations: 7.938 kB / 0.5609 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1359, allocations: 0 / 0.5609 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.136, allocations: 23.92 kB / 0.561 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.1364, allocations: 296.8 kB / 0.5612 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.1366, allocations: 50.67 kB / 0.5613 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.1366, allocations: 20.86 kB / 0.5613 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1366, allocations: 0 / 0.5613 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.1368, allocations: 71.33 kB / 0.5614 GB, free: 3.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1368, allocations: 0 / 0.5614 GB, free: 3.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005931/0.1374, allocations: 177.3 kB / 0.5615 GB, free: 3.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.1375, allocations: 51.41 kB / 0.5616 GB, free: 3.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.1377, allocations: 222.1 kB / 0.5618 GB, free: 3.293 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1377, allocations: 25.7 kB / 0.5618 GB, free: 3.262 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1379, allocations: 104.1 kB / 0.5619 GB, free: 3.156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.1379, allocations: 27.78 kB / 0.562 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.1379, allocations: 17.72 kB / 0.562 GB, free: 3.105 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1381, allocations: 330.8 kB / 0.5623 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.1382, allocations: 20 kB / 0.5623 GB, free: 2.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.1383, allocations: 33.7 kB / 0.5623 GB, free: 2.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1384, allocations: 69.72 kB / 0.5624 GB, free: 2.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1384, allocations: 0 / 0.5624 GB, free: 2.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001911/0.1386, allocations: 97.58 kB / 0.5625 GB, free: 2.539 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1386, allocations: 8 kB / 0.5625 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1386, allocations: 384 / 0.5625 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1386, allocations: 3.984 kB / 0.5625 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.1387, allocations: 15.94 kB / 0.5625 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1388, allocations: 12.03 kB / 0.5625 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.1388, allocations: 4 kB / 0.5625 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1388, allocations: 4 kB / 0.5625 GB, free: 2.492 MB / 414.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.0001147/0.1389, allocations: 125.8 kB / 0.5627 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.139, allocations: 15.91 kB / 0.5627 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.139, allocations: 21.39 kB / 0.5627 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.139, allocations: 4 kB / 0.5627 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.139, allocations: 192 / 0.5627 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.139, allocations: 0 / 0.5627 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.1395, allocations: 407.1 kB / 0.5631 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1395, allocations: 3.984 kB / 0.5631 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.1395, allocations: 8 kB / 0.5631 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1396, allocations: 0 / 0.5631 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1396, allocations: 7.938 kB / 0.5631 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1396, allocations: 3.938 kB / 0.5631 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1396, allocations: 0 / 0.5631 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.1398, allocations: 208.3 kB / 0.5633 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.1399, allocations: 89.05 kB / 0.5634 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.1399, allocations: 0 / 0.5634 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.14, allocations: 7.938 kB / 0.5634 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.14, allocations: 11.98 kB / 0.5634 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.14, allocations: 4 kB / 0.5634 GB, free: 1.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.1402, allocations: 156.8 kB / 0.5636 GB, free: 1.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1402, allocations: 4 kB / 0.5636 GB, free: 1.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1404, allocations: 23.94 kB / 0.5636 GB, free: 1.301 MB / 414.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.001676/0.1421, allocations: 459.5 kB / 0.564 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1423, allocations: 55.97 kB / 0.5641 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1423, allocations: 0 / 0.5641 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.501e-05/0.1424, allocations: 27.92 kB / 0.5641 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1428, allocations: 38.67 kB / 0.5641 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.1434, allocations: 276.3 kB / 0.5644 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.1438, allocations: 0.7081 MB / 0.5651 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.1438, allocations: 15.44 kB / 0.5651 GB, free: 15.85 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.1438, allocations: 7.938 kB / 0.5651 GB, free: 15.84 MB / 430.1 MB Notification: Performance of Templates: time 0.004391/0.1482, allocations: 1.98 MB / 0.5671 GB, free: 13.87 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.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: 7.82927873916924]