Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001916/0.001916, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002184/0.002184, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.588/1.588, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.26/0.26, allocations: 46.92 MB / 357.1 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 75.86 kB / 0.4915 GB, free: 7.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1458, allocations: 66 MB / 0.5559 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003887/0.1497, allocations: 1.829 MB / 0.5577 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.1519, allocations: 1.107 MB / 0.5588 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-05/0.152, allocations: 3.938 kB / 0.5588 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006778/0.1527, allocations: 311.3 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005291/0.1532, allocations: 259.2 kB / 0.5593 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1534, allocations: 99.7 kB / 0.5594 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.1538, allocations: 267.2 kB / 0.5597 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.665e-05/0.1539, allocations: 9.688 kB / 0.5597 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.1541, allocations: 143.5 kB / 0.5598 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.1544, allocations: 223.4 kB / 0.5601 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.1544, allocations: 8 kB / 0.5601 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1545, allocations: 39.98 kB / 0.5601 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.1547, allocations: 135.6 kB / 0.5602 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.1548, allocations: 150.8 kB / 0.5604 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.1553, allocations: 390.1 kB / 0.5607 GB, free: 300 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1553, allocations: 0 / 0.5607 GB, free: 300 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1553, allocations: 0 / 0.5607 GB, free: 300 kB / 414.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1553, allocations: 0 / 0.5607 GB, free: 300 kB / 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.00115/0.1565, allocations: 0.7578 MB / 0.5615 GB, free: 15.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1565, allocations: 16.02 kB / 0.5615 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.1566, allocations: 52.61 kB / 0.5615 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006967/0.1573, allocations: 460.2 kB / 0.562 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1573, allocations: 8.312 kB / 0.562 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.1574, allocations: 4.125 kB / 0.562 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.1576, allocations: 95.34 kB / 0.5621 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1576, allocations: 0 / 0.5621 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1576, allocations: 0 / 0.5621 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1576, allocations: 0 / 0.5621 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1577, allocations: 31.92 kB / 0.5621 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.1582, allocations: 382.3 kB / 0.5625 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.1586, allocations: 101.2 kB / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.1587, allocations: 37.64 kB / 0.5626 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.1587, allocations: 7.938 kB / 0.5626 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.1589, allocations: 113.1 kB / 0.5627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.1589, allocations: 0 / 0.5627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005477/0.1595, allocations: 197.2 kB / 0.5629 GB, free: 13.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.1596, allocations: 81.11 kB / 0.563 GB, free: 13.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.1608, allocations: 1.05 MB / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.1609, allocations: 33.7 kB / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.1611, allocations: 236.1 kB / 0.5643 GB, free: 12.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.1611, allocations: 31.75 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.1612, allocations: 29.7 kB / 0.5643 GB, free: 12.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.1614, allocations: 370.8 kB / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.1615, allocations: 27.92 kB / 0.5647 GB, free: 11.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1616, allocations: 59.41 kB / 0.5648 GB, free: 11.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.1618, allocations: 87.36 kB / 0.5649 GB, free: 11.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1618, allocations: 0 / 0.5649 GB, free: 11.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003429/0.1621, allocations: 177.2 kB / 0.565 GB, free: 11.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1622, allocations: 11.94 kB / 0.565 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1622, allocations: 0.625 kB / 0.565 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1622, allocations: 8.062 kB / 0.565 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1623, allocations: 23.92 kB / 0.5651 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1623, allocations: 0 / 0.5651 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.475e-05/0.1624, allocations: 11.94 kB / 0.5651 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1624, allocations: 12 kB / 0.5651 GB, free: 11.54 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.0002561/0.1627, allocations: 223.9 kB / 0.5653 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.1628, allocations: 51.62 kB / 0.5654 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.4e-05/0.1629, allocations: 68.08 kB / 0.5654 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1629, allocations: 7.984 kB / 0.5654 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1629, allocations: 4 kB / 0.5654 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1629, allocations: 0 / 0.5654 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.1632, allocations: 349.4 kB / 0.5658 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1632, allocations: 0 / 0.5658 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.1633, allocations: 11.94 kB / 0.5658 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1633, allocations: 0 / 0.5658 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1633, allocations: 4 kB / 0.5658 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1633, allocations: 0 / 0.5658 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1633, allocations: 0 / 0.5658 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.1637, allocations: 217.4 kB / 0.566 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.1638, allocations: 140.8 kB / 0.5661 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.1639, allocations: 0 / 0.5661 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.1639, allocations: 8 kB / 0.5661 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.164, allocations: 7.984 kB / 0.5661 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.164, allocations: 4 kB / 0.5661 GB, free: 10.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009234/0.1649, allocations: 0.7878 MB / 0.5669 GB, free: 9.582 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1649, allocations: 0 / 0.5669 GB, free: 9.582 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1652, allocations: 51.92 kB / 0.567 GB, free: 9.531 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.001593/0.1668, allocations: 405 kB / 0.5673 GB, free: 9.285 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.1671, allocations: 75.91 kB / 0.5674 GB, free: 9.211 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1671, allocations: 0 / 0.5674 GB, free: 9.211 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.1672, allocations: 48.02 kB / 0.5675 GB, free: 9.164 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.1677, allocations: 73.64 kB / 0.5675 GB, free: 9.098 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.1691, allocations: 0.8815 MB / 0.5684 GB, free: 8.188 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/0.1697, allocations: 0.8504 MB / 0.5692 GB, free: 7.309 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1698, allocations: 59.45 kB / 0.5693 GB, free: 7.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.1699, allocations: 31.42 kB / 0.5693 GB, free: 7.223 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1699, allocations: 4 kB / 0.5693 GB, free: 7.219 MB / 430.1 MB Notification: Performance of Templates: time 0.009064/0.179, allocations: 3.817 MB / 0.573 GB, free: 3.414 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.555242858827114]