Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.001479/0.001479, allocations: 84.95 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.001494/0.001494, allocations: 158.2 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.526/1.526, allocations: 177 MB / 204.1 MB, free: 9.172 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.2159/0.2159, allocations: 34.25 MB / 294.8 MB, free: 14.54 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 442.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.658e-05, allocations: 2.281 kB / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002886/0.002913, allocations: 1.722 MB / 444.5 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.004715, allocations: 0.9697 MB / 445.4 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.004787, allocations: 4 kB / 445.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.005062, allocations: 47.75 kB / 445.5 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.005372, allocations: 103.5 kB / 445.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.00558, allocations: 87.53 kB / 445.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.005759, allocations: 103.7 kB / 445.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.005841, allocations: 8 kB / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.005951, allocations: 63.75 kB / 445.8 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.765e-05/0.006028, allocations: 19.92 kB / 445.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.006049, allocations: 4 kB / 445.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.006151, allocations: 43.97 kB / 445.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.006216, allocations: 31.86 kB / 445.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.006264, allocations: 23.92 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.00649, allocations: 135.5 kB / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.006493, allocations: 0 / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006493, allocations: 0 / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006498, allocations: 7.938 kB / 446.1 MB, free: 1.84 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.0006048/0.007102, allocations: 377.2 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.007135, allocations: 12.03 kB / 446.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.007183, allocations: 12.84 kB / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.007463, allocations: 162.5 kB / 446.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.007478, allocations: 4.375 kB / 446.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.007502, allocations: 4.375 kB / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.007674, allocations: 54.23 kB / 446.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.007685, allocations: 192 / 446.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.007695, allocations: 384 / 446.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.007704, allocations: 11.94 kB / 446.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.174e-05/0.007786, allocations: 23.92 kB / 446.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.008252, allocations: 240.6 kB / 447 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.008445, allocations: 58.66 kB / 447 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.008508, allocations: 20.86 kB / 447.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.008525, allocations: 0 / 447.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.00869, allocations: 79.25 kB / 447.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.008691, allocations: 0 / 447.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006085/0.009299, allocations: 201.2 kB / 447.3 MB, free: 492 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.009354, allocations: 55.41 kB / 447.4 MB, free: 424 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.00965, allocations: 271 kB / 447.7 MB, free: 144 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.00967, allocations: 29.7 kB / 447.7 MB, free: 108 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1883/0.198, allocations: 111.2 kB / 447.8 MB, free: 19.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.199e-05/0.1981, allocations: 25.56 kB / 447.8 MB, free: 19.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.295e-05/0.1981, allocations: 23.67 kB / 447.8 MB, free: 19.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1982, allocations: 328.4 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1984, allocations: 22.45 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.277e-05/0.1984, allocations: 36.33 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.1986, allocations: 66.66 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1986, allocations: 0 / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002565/0.1988, allocations: 116.1 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.1989, allocations: 10.17 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1989, allocations: 0 / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.1989, allocations: 1.094 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.199, allocations: 15.28 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.199, allocations: 5.031 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.1991, allocations: 9.562 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1991, allocations: 2.656 kB / 448.4 MB, free: 18.86 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 0.0001022/0.1992, allocations: 137.8 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.1992, allocations: 16 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.1995, allocations: 126 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1995, allocations: 2.281 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1995, allocations: 5.812 kB / 448.7 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1995, allocations: 0.7969 kB / 448.7 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.1999, allocations: 359.9 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1999, allocations: 1.812 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.2, allocations: 9.781 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2, allocations: 4.938 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2, allocations: 7.531 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2, allocations: 2 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2, allocations: 0.9062 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.2002, allocations: 219.1 kB / 449.3 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.2002, allocations: 13.11 kB / 449.3 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.2003, allocations: 5.859 kB / 449.3 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.2003, allocations: 7.547 kB / 449.3 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.2004, allocations: 10.7 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.2004, allocations: 5.156 kB / 449.4 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.2006, allocations: 206.2 kB / 449.6 MB, free: 18.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2006, allocations: 5 kB / 449.6 MB, free: 18.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.2008, allocations: 26.8 kB / 449.6 MB, free: 18.2 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.001782/0.2026, allocations: 491 kB / 450.1 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.2028, allocations: 58.64 kB / 450.1 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2028, allocations: 3.344 kB / 450.1 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.2029, allocations: 33.25 kB / 450.2 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.2033, allocations: 26.42 kB / 450.2 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.2038, allocations: 297.3 kB / 450.5 MB, free: 17.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.536e-05/0.2039, allocations: 114.5 kB / 450.6 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.766e-05/0.204, allocations: 17.25 kB / 450.6 MB, free: 17.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.204, allocations: 17.98 kB / 450.6 MB, free: 17.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.204, allocations: 3.938 kB / 450.6 MB, free: 17.69 MB / 366.1 MB Notification: Performance of Templates: time 0.005504/0.2095, allocations: 1.87 MB / 452.5 MB, free: 17.45 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.920327328145504]