Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001767/0.001767, allocations: 83.06 kB / 20.68 MB, free: 1.023 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.002094/0.002094, allocations: 163.8 kB / 23.95 MB, free: 4.156 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.397/1.397, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1946/0.1946, allocations: 32.82 MB / 293.5 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 440.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.386e-05/3.54e-05, allocations: 5.234 kB / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00336/0.003395, allocations: 1.785 MB / 442 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.005442, allocations: 1.037 MB / 443 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/0.005524, allocations: 7.938 kB / 443 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.00609, allocations: 307.1 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.006586, allocations: 263 kB / 443.6 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.006806, allocations: 103.6 kB / 443.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.007161, allocations: 271.2 kB / 443.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.49e-05/0.007226, allocations: 17.72 kB / 443.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.007443, allocations: 147.7 kB / 444.1 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.00772, allocations: 207.6 kB / 444.3 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.007753, allocations: 15.94 kB / 444.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.007871, allocations: 43.98 kB / 444.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.008049, allocations: 143.6 kB / 444.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.008156, allocations: 67.67 kB / 444.6 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.008679, allocations: 366.7 kB / 444.9 MB, free: 3.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.008682, allocations: 0 / 444.9 MB, free: 3.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.008682, allocations: 0 / 444.9 MB, free: 3.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.008693, allocations: 0 / 444.9 MB, free: 3.316 MB / 366.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.001068/0.009761, allocations: 0.6708 MB / 445.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.009808, allocations: 12.03 kB / 445.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.009909, allocations: 64.5 kB / 445.7 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/0.01049, allocations: 393.8 kB / 446 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.0105, allocations: 8.375 kB / 446 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.01052, allocations: 4.375 kB / 446.1 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.01074, allocations: 83.92 kB / 446.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.01075, allocations: 3.938 kB / 446.1 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.01076, allocations: 0 / 446.1 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.01076, allocations: 7.938 kB / 446.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.01088, allocations: 35.91 kB / 446.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.01131, allocations: 310.1 kB / 446.5 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.0116, allocations: 109.2 kB / 446.6 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.01171, allocations: 37.7 kB / 446.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.01172, allocations: 0 / 446.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.01194, allocations: 113 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.01195, allocations: 0 / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005486/0.01249, allocations: 213.2 kB / 446.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.01256, allocations: 85.05 kB / 447 MB, free: 1.027 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1686/0.1812, allocations: 1.057 MB / 448.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.1812, allocations: 28.31 kB / 448.1 MB, free: 21.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1813, allocations: 240.1 kB / 448.3 MB, free: 21.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.1814, allocations: 26.27 kB / 448.4 MB, free: 21.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.1814, allocations: 31.17 kB / 448.4 MB, free: 21.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.1815, allocations: 369.7 kB / 448.8 MB, free: 21.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.1816, allocations: 31.47 kB / 448.8 MB, free: 21.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.035e-05/0.1817, allocations: 64.36 kB / 448.9 MB, free: 20.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.1819, allocations: 89.61 kB / 448.9 MB, free: 20.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1819, allocations: 8.812 kB / 449 MB, free: 20.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003155/0.1822, allocations: 177 kB / 449.1 MB, free: 20.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1822, allocations: 8.969 kB / 449.1 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1822, allocations: 4.906 kB / 449.1 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1822, allocations: 2.406 kB / 449.1 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1823, allocations: 22.94 kB / 449.2 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1823, allocations: 4.609 kB / 449.2 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1824, allocations: 17.98 kB / 449.2 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1824, allocations: 5.375 kB / 449.2 MB, free: 20.91 MB / 366.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.0001631/0.1826, allocations: 221 kB / 449.4 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.1827, allocations: 58.11 kB / 449.5 MB, free: 20.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.183, allocations: 204.7 kB / 449.7 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.183, allocations: 1.438 kB / 449.7 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.183, allocations: 1.094 kB / 449.7 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.183, allocations: 1.781 kB / 449.7 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.1833, allocations: 275.6 kB / 449.9 MB, free: 20.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1833, allocations: 0 / 449.9 MB, free: 20.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.1833, allocations: 15.98 kB / 450 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1833, allocations: 6.188 kB / 450 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1833, allocations: 4.531 kB / 450 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1833, allocations: 4.969 kB / 450 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1833, allocations: 1.875 kB / 450 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.1836, allocations: 212.9 kB / 450.2 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.066e-05/0.1837, allocations: 66.41 kB / 450.2 MB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.1838, allocations: 7.844 kB / 450.3 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.1839, allocations: 8.516 kB / 450.3 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.1839, allocations: 17.2 kB / 450.3 MB, free: 20.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.1839, allocations: 9 kB / 450.3 MB, free: 20.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000753/0.1847, allocations: 0.7905 MB / 451.1 MB, free: 20.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1847, allocations: 0 / 451.1 MB, free: 20.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1849, allocations: 46.16 kB / 451.1 MB, free: 20.04 MB / 366.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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001548/0.1865, allocations: 449.1 kB / 451.6 MB, free: 19.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.1867, allocations: 85.48 kB / 451.6 MB, free: 19.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1867, allocations: 128 / 451.6 MB, free: 19.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1868, allocations: 50.34 kB / 451.7 MB, free: 19.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.1872, allocations: 85.03 kB / 451.8 MB, free: 19.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1883, allocations: 0.901 MB / 452.7 MB, free: 19.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1885, allocations: 243 kB / 452.9 MB, free: 19.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.978e-05/0.1886, allocations: 60.28 kB / 453 MB, free: 19.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.1886, allocations: 30.14 kB / 453 MB, free: 19.3 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1886, allocations: 0 / 453 MB, free: 19.3 MB / 366.1 MB Notification: Performance of Templates: time 0.008985/0.1976, allocations: 4.014 MB / 457 MB, free: 18.78 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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: 4.604939598590136]