Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001497/0.001497, allocations: 83.16 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.001624/0.001624, allocations: 157.4 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.528/1.528, allocations: 177 MB / 204.1 MB, free: 9.164 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.2284/0.2284, 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.489e-06/4.489e-06, allocations: 4 kB / 442.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.834e-05, allocations: 6.281 kB / 442.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003281/0.003309, allocations: 1.737 MB / 444.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.00524, allocations: 0.9814 MB / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.37e-05/0.005333, allocations: 3.938 kB / 445.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.005676, allocations: 99.67 kB / 445.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.006056, allocations: 135.4 kB / 445.7 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.006296, allocations: 79.66 kB / 445.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.006517, allocations: 139.5 kB / 445.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.006609, allocations: 12 kB / 445.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.006741, allocations: 67.86 kB / 446 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.006866, allocations: 71.8 kB / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.006889, allocations: 4 kB / 446.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.007016, allocations: 63.84 kB / 446.1 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.00708, allocations: 31.91 kB / 446.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.007134, allocations: 27.88 kB / 446.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.007398, allocations: 163.4 kB / 446.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.007401, allocations: 0 / 446.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007401, allocations: 0 / 446.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.007406, allocations: 0 / 446.4 MB, free: 1.574 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006088/0.008014, allocations: 381.3 kB / 446.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.008049, allocations: 8.031 kB / 446.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.008105, allocations: 16.84 kB / 446.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.008387, allocations: 170.4 kB / 446.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.008402, allocations: 384 / 446.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.008428, allocations: 8.359 kB / 446.9 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.008612, allocations: 74.22 kB / 447 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.008624, allocations: 192 / 447 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.008636, allocations: 384 / 447 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.008645, allocations: 15.86 kB / 447 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.008781, allocations: 35.91 kB / 447 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.009218, allocations: 264.5 kB / 447.3 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.009527, allocations: 74.53 kB / 447.4 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.009604, allocations: 24.84 kB / 447.4 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.00962, allocations: 0 / 447.4 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.009802, allocations: 99.33 kB / 447.5 MB, free: 316 kB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.009803, allocations: 0 / 447.5 MB, free: 316 kB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008968/0.0107, allocations: 281.2 kB / 447.8 MB, free: 28 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1975/0.2082, allocations: 51.92 kB / 447.8 MB, free: 19.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.2086, allocations: 263.9 kB / 448.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.2086, allocations: 31.39 kB / 448.1 MB, free: 19.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.2087, allocations: 115 kB / 448.2 MB, free: 19.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.2087, allocations: 33.92 kB / 448.3 MB, free: 19.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.2088, allocations: 29.75 kB / 448.3 MB, free: 19.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.2088, allocations: 331.2 kB / 448.6 MB, free: 18.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.2089, allocations: 35 kB / 448.6 MB, free: 18.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.875e-05/0.209, allocations: 55.48 kB / 448.7 MB, free: 18.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.2092, allocations: 101.4 kB / 448.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2092, allocations: 0 / 448.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000294/0.2095, allocations: 148.1 kB / 448.9 MB, free: 18.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2095, allocations: 9.062 kB / 449 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2095, allocations: 3.906 kB / 449 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.2095, allocations: 7.531 kB / 449 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.2096, allocations: 22.94 kB / 449 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2096, allocations: 1.312 kB / 449 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/0.2097, allocations: 3.516 kB / 449 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2097, allocations: 8.812 kB / 449 MB, free: 18.75 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 (14): * Single equations (assignments): 14 * 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.0001005/0.2098, allocations: 138 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.2098, allocations: 19.91 kB / 449.2 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.2102, allocations: 178.8 kB / 449.3 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2102, allocations: 6 kB / 449.3 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2103, allocations: 0 / 449.3 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2103, allocations: 1.734 kB / 449.3 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000584/0.2108, allocations: 437.8 kB / 449.8 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2108, allocations: 0.75 kB / 449.8 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.2109, allocations: 18.67 kB / 449.8 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2109, allocations: 1.094 kB / 449.8 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2109, allocations: 11.39 kB / 449.8 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2109, allocations: 2.219 kB / 449.8 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2109, allocations: 8.422 kB / 449.8 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.2112, allocations: 257.9 kB / 450.1 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.2112, allocations: 18.12 kB / 450.1 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.2113, allocations: 4.812 kB / 450.1 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.2114, allocations: 7.578 kB / 450.1 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.2114, allocations: 10.47 kB / 450.1 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.2114, allocations: 4.938 kB / 450.1 MB, free: 18.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.2116, allocations: 204.6 kB / 450.3 MB, free: 17.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2116, allocations: 0 / 450.3 MB, free: 17.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.2119, allocations: 38.84 kB / 450.3 MB, free: 17.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002075/0.214, allocations: 0.5341 MB / 450.9 MB, free: 17.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.2142, allocations: 100.2 kB / 451 MB, free: 17.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2142, allocations: 0 / 451 MB, free: 17.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.2143, allocations: 52.73 kB / 451 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.2147, allocations: 35.55 kB / 451.1 MB, free: 17.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.2153, allocations: 326.9 kB / 451.4 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.925e-05/0.2153, allocations: 124.5 kB / 451.5 MB, free: 17.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.631e-05/0.2154, allocations: 23.72 kB / 451.5 MB, free: 17.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.2155, allocations: 20.81 kB / 451.5 MB, free: 17.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2155, allocations: 0 / 451.5 MB, free: 17.32 MB / 366.1 MB Notification: Performance of Templates: time 0.006149/0.2216, allocations: 2.224 MB / 453.8 MB, free: 17.04 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.000834319740534]