Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.001687/0.001687, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.002011/0.002011, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.513/1.513, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.2363/0.2363, 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68") [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.002306/0.002306, allocations: 87.84 kB / 0.4924 GB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1439, allocations: 65.99 MB / 0.5569 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003352/0.1472, allocations: 1.83 MB / 0.5586 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.1491, allocations: 1.112 MB / 0.5597 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.888e-05/0.1492, allocations: 4 kB / 0.5597 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.1498, allocations: 303.2 kB / 0.56 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004969/0.1503, allocations: 247.2 kB / 0.5603 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.1506, allocations: 103.7 kB / 0.5604 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.1509, allocations: 263.2 kB / 0.5606 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.541e-05/0.151, allocations: 13.69 kB / 0.5606 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.1512, allocations: 127.6 kB / 0.5607 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.1515, allocations: 219.8 kB / 0.561 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.1516, allocations: 8 kB / 0.561 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1517, allocations: 43.98 kB / 0.561 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.1519, allocations: 132.5 kB / 0.5611 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.152, allocations: 150.7 kB / 0.5613 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.1525, allocations: 370.2 kB / 0.5616 GB, free: 0.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.1526, allocations: 4 kB / 0.5616 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1526, allocations: 0 / 0.5616 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1526, allocations: 0 / 0.5616 GB, free: 0.9531 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001192/0.1538, allocations: 0.7462 MB / 0.5624 GB, free: 160 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1538, allocations: 12.03 kB / 0.5624 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.521e-05/0.1539, allocations: 52.61 kB / 0.5624 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007401/0.1546, allocations: 460.3 kB / 0.5629 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1547, allocations: 8.375 kB / 0.5629 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1547, allocations: 4.312 kB / 0.5629 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.1549, allocations: 91.67 kB / 0.563 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1549, allocations: 0 / 0.563 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1549, allocations: 0 / 0.563 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1549, allocations: 4 kB / 0.563 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1551, allocations: 35.91 kB / 0.563 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.1555, allocations: 370.4 kB / 0.5634 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.1558, allocations: 105.2 kB / 0.5635 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1559, allocations: 37.7 kB / 0.5635 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.156, allocations: 4 kB / 0.5635 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.1562, allocations: 108.9 kB / 0.5636 GB, free: 14.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 4.328e-06/0.1562, allocations: 4 kB / 0.5636 GB, free: 14.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005785/0.1568, allocations: 201.2 kB / 0.5638 GB, free: 14.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.1569, allocations: 85.05 kB / 0.5639 GB, free: 14.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.1582, allocations: 1.026 MB / 0.5649 GB, free: 13.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1582, allocations: 25.7 kB / 0.5649 GB, free: 13.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.1585, allocations: 236.1 kB / 0.5651 GB, free: 13.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/0.1585, allocations: 23.8 kB / 0.5652 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.1586, allocations: 29.7 kB / 0.5652 GB, free: 13.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002433/0.1588, allocations: 374.8 kB / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.464e-05/0.1589, allocations: 27.98 kB / 0.5656 GB, free: 12.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.159, allocations: 51.41 kB / 0.5656 GB, free: 12.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.1592, allocations: 91.36 kB / 0.5657 GB, free: 12.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1592, allocations: 0 / 0.5657 GB, free: 12.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003327/0.1596, allocations: 177.7 kB / 0.5659 GB, free: 12.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1596, allocations: 4 kB / 0.5659 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1596, allocations: 0 / 0.5659 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.1596, allocations: 4 kB / 0.5659 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.1598, allocations: 27.98 kB / 0.5659 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.1598, allocations: 8 kB / 0.5659 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.721e-05/0.1599, allocations: 15.95 kB / 0.5659 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1599, allocations: 4 kB / 0.5659 GB, free: 12.27 MB / 430.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000276/0.1602, allocations: 221.7 kB / 0.5661 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.1602, allocations: 55.61 kB / 0.5662 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.1603, allocations: 60.03 kB / 0.5663 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1604, allocations: 4 kB / 0.5663 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1604, allocations: 3.938 kB / 0.5663 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1604, allocations: 3.984 kB / 0.5663 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.1608, allocations: 341.4 kB / 0.5666 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1608, allocations: 4 kB / 0.5666 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.1608, allocations: 11.94 kB / 0.5666 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1608, allocations: 0 / 0.5666 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.1608, allocations: 7.984 kB / 0.5666 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1608, allocations: 4 kB / 0.5666 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1608, allocations: 0 / 0.5666 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.1612, allocations: 205.5 kB / 0.5668 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.1614, allocations: 140.7 kB / 0.5669 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.1614, allocations: 8 kB / 0.567 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.1615, allocations: 3.984 kB / 0.567 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.1616, allocations: 7.984 kB / 0.567 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1616, allocations: 8 kB / 0.567 GB, free: 11.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009065/0.1625, allocations: 0.7643 MB / 0.5677 GB, free: 10.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1625, allocations: 0 / 0.5677 GB, free: 10.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1628, allocations: 47.92 kB / 0.5678 GB, free: 10.29 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001662/0.1645, allocations: 409.5 kB / 0.5682 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.1648, allocations: 75.91 kB / 0.5682 GB, free: 9.953 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1648, allocations: 0 / 0.5682 GB, free: 9.953 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.1649, allocations: 35.98 kB / 0.5683 GB, free: 9.918 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.1654, allocations: 68.95 kB / 0.5683 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.167, allocations: 0.9222 MB / 0.5692 GB, free: 8.898 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.1676, allocations: 0.8427 MB / 0.5701 GB, free: 8.031 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.1677, allocations: 31.42 kB / 0.5701 GB, free: 8.004 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1677, allocations: 0 / 0.5701 GB, free: 8.004 MB / 430.1 MB Notification: Performance of Templates: time 0.009418/0.1771, allocations: 5.097 MB / 0.5751 GB, free: 2.906 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.196477038087323]