Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.0008691/0.0008691, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003149/0.003149, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8863/0.8863, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2439/0.2439, allocations: 34.24 MB / 295.6 MB, free: 0.6641 MB / 266.7 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.176e-06/3.176e-06, allocations: 3.984 kB / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.324e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.1725/0.1725, allocations: 1.904 MB / 445.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009294/0.1734, allocations: 1.004 MB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.365e-05/0.1735, allocations: 5.656 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.1738, allocations: 45.33 kB / 446.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.174, allocations: 99.48 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.1741, allocations: 99.94 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1743, allocations: 147.3 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.1744, allocations: 20.08 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.1745, allocations: 79.19 kB / 446.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.1745, allocations: 40.53 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1746, allocations: 8.719 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.406e-05/0.1746, allocations: 51.16 kB / 447 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.1747, allocations: 32.69 kB / 447 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.1747, allocations: 22.78 kB / 447 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1749, allocations: 161.5 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1749, allocations: 5.75 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1749, allocations: 0 / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1749, allocations: 0 / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004082/0.1753, allocations: 406.9 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1753, allocations: 15.8 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.1754, allocations: 14.62 kB / 447.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1756, allocations: 169.5 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1756, allocations: 8.438 kB / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1756, allocations: 9.5 kB / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1758, allocations: 138.7 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1758, allocations: 3.719 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1758, allocations: 384 / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1758, allocations: 7.406 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.077e-05/0.1759, allocations: 55.83 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.1762, allocations: 452 kB / 448.5 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.1764, allocations: 88.45 kB / 448.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.1764, allocations: 39.88 kB / 448.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1764, allocations: 2.875 kB / 448.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.1766, allocations: 112.1 kB / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.1766, allocations: 2.844 kB / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002201/0.1768, allocations: 146.1 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/0.1768, allocations: 53.19 kB / 448.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.1769, allocations: 208.6 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.1769, allocations: 25.7 kB / 449.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.1769, allocations: 126.6 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.177, allocations: 29.22 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.177, allocations: 28.7 kB / 449.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.962e-05/0.177, allocations: 327.6 kB / 449.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-05/0.1771, allocations: 30.89 kB / 449.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.647e-05/0.1771, allocations: 69.34 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.155e-05/0.1772, allocations: 99.72 kB / 449.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1772, allocations: 0 / 449.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000132/0.1773, allocations: 146.9 kB / 450 MB, free: 40.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1773, allocations: 5.844 kB / 450 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1773, allocations: 0 / 450 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1774, allocations: 2.844 kB / 450 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/0.1774, allocations: 20.62 kB / 450 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1774, allocations: 6.234 kB / 450 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.1774, allocations: 17.66 kB / 450 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1774, allocations: 2.875 kB / 450 MB, free: 40.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 5.344e-05/0.1775, allocations: 137.6 kB / 450.2 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.1775, allocations: 14 kB / 450.2 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.1777, allocations: 140 kB / 450.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1777, allocations: 5.812 kB / 450.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.1777, allocations: 0 / 450.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1777, allocations: 0 / 450.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.865e-05/0.1777, allocations: 159.8 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1777, allocations: 6.688 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.1778, allocations: 11.53 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1778, allocations: 3.094 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1778, allocations: 0 / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1778, allocations: 0 / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1778, allocations: 2.875 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.178, allocations: 195.6 kB / 450.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.178, allocations: 14.69 kB / 450.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.178, allocations: 6.781 kB / 450.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.501e-05/0.178, allocations: 10.27 kB / 450.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.178, allocations: 6.141 kB / 450.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1781, allocations: 2.781 kB / 450.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.68e-05/0.1781, allocations: 151.8 kB / 450.9 MB, free: 39.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1781, allocations: 0 / 450.9 MB, free: 39.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.1783, allocations: 27.09 kB / 450.9 MB, free: 39.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006084/0.1789, allocations: 433.3 kB / 451.3 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.179, allocations: 82.28 kB / 451.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.179, allocations: 0 / 451.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.1791, allocations: 37.59 kB / 451.4 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.1792, allocations: 40.34 kB / 451.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.1796, allocations: 295.2 kB / 451.8 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/0.1796, allocations: 105.6 kB / 451.9 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.1797, allocations: 17 kB / 451.9 MB, free: 39.43 MB / 410.7 MB Notification: Performance of SimCode: time 6.22e-07/0.1797, allocations: 0 / 451.9 MB, free: 39.43 MB / 410.7 MB Notification: Performance of Templates: time 0.002302/0.182, allocations: 2.272 MB / 454.2 MB, free: 39.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.072010410018265]