Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.001121/0.001121, 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.005009/0.005009, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.9254/0.9254, allocations: 177 MB / 204.9 MB, free: 5.746 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.278/0.278, allocations: 34.24 MB / 295.6 MB, free: 0.6914 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 443.5 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.384e-05, allocations: 5.094 kB / 443.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.2042/0.2042, allocations: 1.713 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2053, allocations: 0.9798 MB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.2054, allocations: 3.031 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.2056, allocations: 48.03 kB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.2059, allocations: 107.2 kB / 446.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.206, allocations: 75.23 kB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.2062, allocations: 106.3 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.2063, allocations: 12.05 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.214e-05/0.2063, allocations: 53.61 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.2064, allocations: 24.16 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.2064, allocations: 9.156 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-05/0.2065, allocations: 48.75 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.2065, allocations: 26.61 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.2066, allocations: 20.47 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.2067, allocations: 121.7 kB / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2067, allocations: 0 / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2067, allocations: 0.5625 kB / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2067, allocations: 0 / 446.8 MB, free: 42.94 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003859/0.2071, allocations: 363.1 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2072, allocations: 7.812 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.2072, allocations: 14.19 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.2074, allocations: 166.8 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2074, allocations: 7.188 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.2074, allocations: 3.25 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.2075, allocations: 58.61 kB / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2076, allocations: 192 / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.2076, allocations: 384 / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2076, allocations: 6.844 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.2076, allocations: 23.17 kB / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.2079, allocations: 234.6 kB / 447.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.208, allocations: 59.64 kB / 447.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.208, allocations: 18.17 kB / 447.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.208, allocations: 9.906 kB / 447.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.981e-05/0.2081, allocations: 64.3 kB / 447.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2081, allocations: 0 / 447.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003894/0.2085, allocations: 192.7 kB / 448 MB, free: 41.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.2085, allocations: 51.41 kB / 448.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2086, allocations: 246.4 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.2087, allocations: 29.05 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.2087, allocations: 109.4 kB / 448.5 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.2087, allocations: 29.05 kB / 448.5 MB, free: 41.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.2087, allocations: 19.56 kB / 448.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.183e-05/0.2088, allocations: 323.9 kB / 448.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.2088, allocations: 26.02 kB / 448.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.671e-05/0.2088, allocations: 38.34 kB / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.556e-05/0.2089, allocations: 62.53 kB / 449 MB, free: 41.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2089, allocations: 0.5 kB / 449 MB, free: 41.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001051/0.209, allocations: 127.3 kB / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.209, allocations: 5.75 kB / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.209, allocations: 0 / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.209, allocations: 0 / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.2091, allocations: 17.31 kB / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2091, allocations: 0 / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.2091, allocations: 2.938 kB / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.2091, allocations: 6.938 kB / 449.1 MB, free: 41.13 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 (10): * Single equations (assignments): 10 * 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.757e-05/0.2092, allocations: 134 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.2092, allocations: 19.72 kB / 449.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.2094, allocations: 125.6 kB / 449.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2094, allocations: 6.406 kB / 449.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2094, allocations: 0 / 449.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2094, allocations: 3.188 kB / 449.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.2096, allocations: 356.8 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2096, allocations: 0 / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.2096, allocations: 16.06 kB / 449.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2096, allocations: 2.938 kB / 449.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2096, allocations: 0 / 449.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2096, allocations: 2.938 kB / 449.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2096, allocations: 1.641 kB / 449.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.2097, allocations: 218.5 kB / 450 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.2098, allocations: 14.69 kB / 450 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2098, allocations: 6.375 kB / 450 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.2098, allocations: 3.469 kB / 450 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.2098, allocations: 8.594 kB / 450 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.2099, allocations: 10.69 kB / 450 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.521e-05/0.2099, allocations: 175.6 kB / 450.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2099, allocations: 0 / 450.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.2101, allocations: 25.69 kB / 450.2 MB, free: 40.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0007679/0.2109, allocations: 491.5 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.211, allocations: 63.88 kB / 450.8 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.211, allocations: 0 / 450.8 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.211, allocations: 29.05 kB / 450.8 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.2113, allocations: 37.36 kB / 450.8 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.2116, allocations: 289.9 kB / 451.1 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.547e-05/0.2117, allocations: 104.6 kB / 451.2 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.2117, allocations: 17.75 kB / 451.2 MB, free: 39.82 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.2117, allocations: 0 / 451.2 MB, free: 39.82 MB / 410.7 MB Notification: Performance of Templates: time 0.00259/0.2143, allocations: 2.078 MB / 453.3 MB, free: 39.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.307606308721006]