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.002077/0.002077, allocations: 82.38 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002164/0.002164, allocations: 157.7 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.685/1.685, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.22/0.22, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 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 5.049e-06/5.049e-06, allocations: 4 kB / 442.7 MB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.693e-05, allocations: 6.219 kB / 442.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003374/0.003411, allocations: 1.718 MB / 444.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.005272, allocations: 0.9774 MB / 445.4 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.005347, allocations: 0 / 445.4 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.005622, allocations: 47.75 kB / 445.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.005943, allocations: 99.47 kB / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.006147, allocations: 79.61 kB / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.006349, allocations: 111.6 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.022e-05/0.006429, allocations: 8 kB / 445.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.006541, allocations: 59.81 kB / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.006624, allocations: 23.92 kB / 445.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.006645, allocations: 4 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.619e-05/0.006741, allocations: 43.92 kB / 445.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.006805, allocations: 31.84 kB / 445.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.006849, allocations: 15.94 kB / 446 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.007073, allocations: 131.5 kB / 446.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.007075, allocations: 0 / 446.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007076, allocations: 0 / 446.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.00708, allocations: 4 kB / 446.1 MB, free: 1.863 MB / 366.1 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.0005529/0.007633, allocations: 353.5 kB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.007665, allocations: 15.97 kB / 446.4 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.007714, allocations: 16.83 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.007983, allocations: 154.3 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.008, allocations: 12.31 kB / 446.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.008024, allocations: 384 / 446.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.008186, allocations: 58.23 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.008199, allocations: 4.172 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.008209, allocations: 384 / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.008214, allocations: 7.938 kB / 446.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.866e-05/0.008293, allocations: 19.98 kB / 446.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.008665, allocations: 240.5 kB / 446.9 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.008857, allocations: 62.61 kB / 447 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.008918, allocations: 20.84 kB / 447 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.008934, allocations: 4 kB / 447 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.009089, allocations: 67.33 kB / 447.1 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.009091, allocations: 4 kB / 447.1 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006083/0.009699, allocations: 189.3 kB / 447.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.009739, allocations: 51.41 kB / 447.3 MB, free: 484 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.01001, allocations: 247.6 kB / 447.6 MB, free: 228 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.01003, allocations: 25.7 kB / 447.6 MB, free: 196 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.0101, allocations: 112.1 kB / 447.7 MB, free: 80 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.01013, allocations: 23.8 kB / 447.7 MB, free: 56 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.01018, allocations: 25.7 kB / 447.8 MB, free: 24 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1982/0.2084, allocations: 322.8 kB / 448.1 MB, free: 18.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.2085, allocations: 23.22 kB / 448.1 MB, free: 18.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.2086, allocations: 39.8 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.2087, allocations: 61.47 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2087, allocations: 0 / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002368/0.209, allocations: 113.5 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.209, allocations: 6.141 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.209, allocations: 0 / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.209, allocations: 4.281 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2091, allocations: 15.45 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2091, allocations: 4.812 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.2092, allocations: 3.688 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2092, allocations: 3.375 kB / 448.3 MB, free: 18.93 MB / 366.1 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 9.653e-05/0.2093, allocations: 134.3 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.2093, allocations: 17.84 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.2096, allocations: 126.8 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2096, allocations: 1.031 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2096, allocations: 3.938 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2096, allocations: 1.625 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.21, allocations: 354.2 kB / 449 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.21, allocations: 4.906 kB / 449 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.2101, allocations: 10.12 kB / 449 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2101, allocations: 1.75 kB / 449 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.2101, allocations: 10.81 kB / 449 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2101, allocations: 1.125 kB / 449 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2101, allocations: 1.156 kB / 449 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.2103, allocations: 215.8 kB / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.2103, allocations: 11.34 kB / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.2103, allocations: 6.438 kB / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.2104, allocations: 6.969 kB / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.2105, allocations: 10.83 kB / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.2105, allocations: 6.922 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.2106, allocations: 176.5 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2106, allocations: 0 / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.2109, allocations: 28.3 kB / 449.5 MB, free: 18.32 MB / 366.1 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.001746/0.2126, allocations: 490 kB / 449.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.2128, allocations: 56.31 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2128, allocations: 3.938 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/0.2129, allocations: 26.14 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.2133, allocations: 34.56 kB / 450.1 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.2137, allocations: 268.2 kB / 450.3 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.625e-05/0.2138, allocations: 96 kB / 450.4 MB, free: 17.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.866e-05/0.2139, allocations: 21.95 kB / 450.4 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.2139, allocations: 21.62 kB / 450.4 MB, free: 17.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2139, allocations: 3.391 kB / 450.5 MB, free: 17.82 MB / 366.1 MB Notification: Performance of Templates: time 0.005492/0.2194, allocations: 1.851 MB / 452.3 MB, free: 17.59 MB / 366.1 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.081978358328342]