Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001151/0.001151, 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.005655/0.005655, 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.8987/0.8987, allocations: 177 MB / 204.9 MB, free: 5.723 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.2544/0.2544, allocations: 34.25 MB / 295.6 MB, free: 0.6602 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 443.5 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.678e-05, allocations: 5.094 kB / 443.5 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.1791/0.1791, allocations: 1.731 MB / 445.3 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008983/0.18, allocations: 0.972 MB / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.1801, allocations: 0 / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.1803, allocations: 108.6 kB / 446.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.1806, allocations: 138.5 kB / 446.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.1807, allocations: 80.31 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1808, allocations: 126.5 kB / 446.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.1809, allocations: 17.03 kB / 446.7 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.757e-05/0.181, allocations: 62.86 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.181, allocations: 64 kB / 446.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.181, allocations: 5.75 kB / 446.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.1811, allocations: 68.42 kB / 446.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.1812, allocations: 26.16 kB / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.1812, allocations: 25.2 kB / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1814, allocations: 142.8 kB / 447.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1814, allocations: 1.031 kB / 447.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1814, allocations: 0 / 447.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1814, allocations: 0 / 447.1 MB, free: 42.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003343/0.1817, allocations: 381.5 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.1817, allocations: 10.03 kB / 447.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.1818, allocations: 14.72 kB / 447.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.1819, allocations: 161.4 kB / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1819, allocations: 11.88 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.182, allocations: 2.938 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.822e-05/0.1821, allocations: 61.28 kB / 447.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1821, allocations: 2.875 kB / 447.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1821, allocations: 384 / 447.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1821, allocations: 6.469 kB / 447.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/0.1821, allocations: 27.42 kB / 447.7 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.1824, allocations: 247.6 kB / 448 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1825, allocations: 62.75 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.1825, allocations: 24.75 kB / 448.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.1826, allocations: 2.969 kB / 448.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.959e-05/0.1826, allocations: 73.88 kB / 448.1 MB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1826, allocations: 0 / 448.1 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004562/0.1831, allocations: 251.2 kB / 448.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.1831, allocations: 61.75 kB / 448.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1833, allocations: 258.7 kB / 448.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.1833, allocations: 25.7 kB / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.1833, allocations: 122.2 kB / 448.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.1833, allocations: 33.34 kB / 448.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.1833, allocations: 25.64 kB / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.836e-05/0.1834, allocations: 330.5 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.1834, allocations: 31.7 kB / 449.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.951e-05/0.1834, allocations: 45.42 kB / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.251e-05/0.1835, allocations: 83.59 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1835, allocations: 0 / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001128/0.1836, allocations: 141.5 kB / 449.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.1836, allocations: 5.562 kB / 449.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1836, allocations: 0 / 449.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.1837, allocations: 0 / 449.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.393e-05/0.1837, allocations: 28.66 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1837, allocations: 7.141 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.1837, allocations: 2.781 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1837, allocations: 2.906 kB / 449.6 MB, free: 40.98 MB / 410.7 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 (13): * Single equations (assignments): 13 * 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.295e-05/0.1838, allocations: 138.9 kB / 449.7 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.1838, allocations: 13.66 kB / 449.7 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.184, allocations: 162.2 kB / 449.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.184, allocations: 2.875 kB / 449.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.184, allocations: 0 / 449.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.184, allocations: 0 / 449.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.1842, allocations: 403.9 kB / 450.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1842, allocations: 0 / 450.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.1842, allocations: 21.33 kB / 450.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1842, allocations: 7.875 kB / 450.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.1843, allocations: 2.906 kB / 450.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1843, allocations: 4 kB / 450.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1843, allocations: 2.938 kB / 450.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.1844, allocations: 253.7 kB / 450.6 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.1844, allocations: 13.41 kB / 450.6 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.1844, allocations: 4 kB / 450.6 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.1844, allocations: 2.875 kB / 450.6 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.1845, allocations: 16.14 kB / 450.6 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1845, allocations: 6.844 kB / 450.6 MB, free: 40.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.522e-05/0.1845, allocations: 190.9 kB / 450.8 MB, free: 40.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1845, allocations: 4 kB / 450.8 MB, free: 40.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.1847, allocations: 33.62 kB / 450.8 MB, free: 40.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0007276/0.1854, allocations: 0.5347 MB / 451.4 MB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.1856, allocations: 76.56 kB / 451.4 MB, free: 39.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1856, allocations: 3.938 kB / 451.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/0.1856, allocations: 41 kB / 451.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1858, allocations: 28.59 kB / 451.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.1862, allocations: 341.7 kB / 451.8 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.159e-05/0.1862, allocations: 108.5 kB / 451.9 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.1862, allocations: 21.31 kB / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.1862, allocations: 0 / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of Templates: time 0.002273/0.1885, allocations: 2.376 MB / 454.3 MB, free: 39.28 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.138119018636644]