Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.0008776/0.0008776, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005005/0.005005, allocations: 156 kB / 24.7 MB, free: 9.434 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.9227/0.9227, allocations: 177 MB / 204.9 MB, free: 5.734 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.2419/0.2419, allocations: 34.25 MB / 295.6 MB, free: 0.668 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 443.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/1.99e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.1809/0.1809, allocations: 1.67 MB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1822, allocations: 0.9603 MB / 446.1 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.1823, allocations: 1.625 kB / 446.1 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.1826, allocations: 76.55 kB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.1829, allocations: 118 kB / 446.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.1831, allocations: 79.88 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1833, allocations: 117.5 kB / 446.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1833, allocations: 7.359 kB / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.1834, allocations: 57.36 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1835, allocations: 58.42 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1835, allocations: 5.781 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.1836, allocations: 31.31 kB / 446.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.1837, allocations: 21.12 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.1837, allocations: 23.77 kB / 446.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1839, allocations: 110.3 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1839, allocations: 0 / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1839, allocations: 0 / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1839, allocations: 0.8438 kB / 446.8 MB, free: 43.04 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003781/0.1843, allocations: 350.5 kB / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1843, allocations: 8.781 kB / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.1843, allocations: 10.64 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1846, allocations: 153.5 kB / 447.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1846, allocations: 3.188 kB / 447.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1846, allocations: 384 / 447.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1847, allocations: 52.08 kB / 447.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1847, allocations: 192 / 447.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1847, allocations: 1.781 kB / 447.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1847, allocations: 3.938 kB / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.081e-05/0.1848, allocations: 22.58 kB / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.185, allocations: 142.9 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.1851, allocations: 54.81 kB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.1851, allocations: 20.56 kB / 447.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1851, allocations: 0 / 447.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.1853, allocations: 63.62 kB / 447.7 MB, free: 42.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1853, allocations: 4 kB / 447.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002351/0.1855, allocations: 107.4 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.1855, allocations: 55.34 kB / 447.9 MB, free: 42.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1857, allocations: 222.8 kB / 448.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.1857, allocations: 28.23 kB / 448.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.1857, allocations: 108.7 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.1858, allocations: 14.66 kB / 448.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.1858, allocations: 24.86 kB / 448.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.1858, allocations: 320.9 kB / 448.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/0.1859, allocations: 19.11 kB / 448.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.1859, allocations: 34.25 kB / 448.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/0.186, allocations: 47.78 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.186, allocations: 0 / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.154e-05/0.186, allocations: 89.75 kB / 448.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1861, allocations: 5.969 kB / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1861, allocations: 0 / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1861, allocations: 0 / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.1862, allocations: 15.19 kB / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.1862, allocations: 6.609 kB / 448.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.1862, allocations: 10.16 kB / 448.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1862, allocations: 2.531 kB / 448.8 MB, free: 41.4 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 (7): * Single equations (assignments): 7 * 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 6.684e-05/0.1863, allocations: 126.1 kB / 448.9 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.1863, allocations: 13.44 kB / 448.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.1865, allocations: 101 kB / 449 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1865, allocations: 0 / 449 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1865, allocations: 3.938 kB / 449 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1865, allocations: 3.031 kB / 449 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.646e-05/0.1866, allocations: 139.9 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1866, allocations: 4 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.1866, allocations: 8.781 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1866, allocations: 0 / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1866, allocations: 6.688 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1866, allocations: 3.25 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1866, allocations: 0 / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.1867, allocations: 121.3 kB / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.1867, allocations: 12.45 kB / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.1868, allocations: 0 / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.982e-05/0.1868, allocations: 6.625 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1868, allocations: 13.92 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1868, allocations: 2.719 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1869, allocations: 171.4 kB / 449.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1869, allocations: 3.938 kB / 449.5 MB, free: 40.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002439/0.1872, allocations: 20.78 kB / 449.5 MB, free: 40.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008699/0.188, allocations: 424.3 kB / 449.9 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.1882, allocations: 42.23 kB / 450 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1882, allocations: 0 / 450 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.1882, allocations: 29.25 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.1885, allocations: 18.33 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.1889, allocations: 252.1 kB / 450.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.445e-05/0.189, allocations: 99.22 kB / 450.4 MB, free: 40.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.189, allocations: 17.58 kB / 450.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.189, allocations: 0 / 450.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of Templates: time 0.00252/0.1915, allocations: 1.818 MB / 452.2 MB, free: 40.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.912578825838864]