Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.0009443/0.0009443, 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.004689/0.004689, allocations: 160 kB / 24.7 MB, free: 9.441 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.9273/0.9273, allocations: 177 MB / 204.9 MB, free: 5.707 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.2767/0.2767, 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.328e-05, allocations: 4.812 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.1832/0.1832, allocations: 1.671 MB / 445.2 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1842, allocations: 0.9596 MB / 446.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.1843, allocations: 6.875 kB / 446.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.1846, allocations: 53.11 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1848, allocations: 100.5 kB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.1849, allocations: 76.89 kB / 446.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.1851, allocations: 103.4 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.1851, allocations: 3.797 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.627e-05/0.1852, allocations: 51.03 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.911e-05/0.1852, allocations: 31.44 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1853, allocations: 3.062 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/0.1853, allocations: 36.48 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.1854, allocations: 26.56 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.1854, allocations: 19.91 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.1856, allocations: 114.5 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1856, allocations: 0.5625 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1856, allocations: 0.8438 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1856, allocations: 2.969 kB / 446.7 MB, free: 42.98 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.0004001/0.186, allocations: 369.1 kB / 447.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.186, allocations: 7.844 kB / 447.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.1861, allocations: 24.47 kB / 447.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.1863, allocations: 157.3 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1863, allocations: 3.031 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.1863, allocations: 384 / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.1864, allocations: 52.02 kB / 447.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1864, allocations: 192 / 447.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1864, allocations: 4.375 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1864, allocations: 3.938 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.45e-05/0.1865, allocations: 23.05 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.1866, allocations: 143.8 kB / 447.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.1867, allocations: 53.2 kB / 447.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.1867, allocations: 20.62 kB / 447.6 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1867, allocations: 3.531 kB / 447.6 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.7e-05/0.1868, allocations: 69.28 kB / 447.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1868, allocations: 3.938 kB / 447.7 MB, free: 42.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000184/0.187, allocations: 98.95 kB / 447.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.187, allocations: 58.03 kB / 447.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.1872, allocations: 276.1 kB / 448.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.1872, allocations: 25.7 kB / 448.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.1872, allocations: 112.2 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1872, allocations: 14.86 kB / 448.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.1873, allocations: 23.44 kB / 448.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.256e-05/0.1873, allocations: 331.3 kB / 448.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.1873, allocations: 12.84 kB / 448.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.1874, allocations: 28.48 kB / 448.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/0.1874, allocations: 49.47 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1874, allocations: 0 / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.45e-05/0.1875, allocations: 93.89 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1875, allocations: 5.75 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1875, allocations: 4.031 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1875, allocations: 5.109 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.1876, allocations: 12.62 kB / 448.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1876, allocations: 2.578 kB / 448.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.1876, allocations: 10.75 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.1876, allocations: 3 kB / 448.8 MB, free: 41.3 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 5.478e-05/0.1877, allocations: 135.1 kB / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.1877, allocations: 16.53 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.1878, allocations: 102.6 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1878, allocations: 0 / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1878, allocations: 7.938 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1878, allocations: 0 / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.929e-05/0.1879, allocations: 145.8 kB / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1879, allocations: 0 / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.1879, allocations: 5.812 kB / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1879, allocations: 0 / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.1879, allocations: 0 / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1879, allocations: 6.156 kB / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1879, allocations: 0 / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.297e-05/0.188, allocations: 128.7 kB / 449.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.188, allocations: 17.53 kB / 449.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.188, allocations: 4 kB / 449.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.774e-05/0.188, allocations: 6.141 kB / 449.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.1881, allocations: 6.844 kB / 449.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1881, allocations: 2.906 kB / 449.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.856e-05/0.1882, allocations: 207.9 kB / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1882, allocations: 0 / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.1883, allocations: 22.84 kB / 449.6 MB, free: 40.75 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.000674/0.189, allocations: 436.5 kB / 450 MB, free: 40.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.1891, allocations: 47.52 kB / 450.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1891, allocations: 0 / 450.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.1891, allocations: 15.47 kB / 450.1 MB, free: 40.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.1893, allocations: 30.31 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.1897, allocations: 301.8 kB / 450.4 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.931e-05/0.1897, allocations: 106.3 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.1897, allocations: 21.58 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1897, allocations: 0 / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of Templates: time 0.002299/0.192, allocations: 1.934 MB / 452.5 MB, free: 40.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.037710100412369]