Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.001454/0.001454, allocations: 83.08 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.00151/0.00151, allocations: 157.5 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.507/1.507, 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.2371/0.2371, allocations: 34.26 MB / 294.8 MB, free: 14.53 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.292e-05, allocations: 6.219 kB / 442.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00419/0.004223, allocations: 1.726 MB / 444.5 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.006617, allocations: 0.9736 MB / 445.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.006725, allocations: 0 / 445.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.007104, allocations: 87.61 kB / 445.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.007504, allocations: 115.5 kB / 445.6 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.007754, allocations: 79.59 kB / 445.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.007999, allocations: 119.7 kB / 445.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.008117, allocations: 4 kB / 445.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.008254, allocations: 67.75 kB / 445.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.008383, allocations: 63.86 kB / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.008407, allocations: 4 kB / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.008527, allocations: 43.92 kB / 446 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.008619, allocations: 31.84 kB / 446 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.008676, allocations: 15.94 kB / 446.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.008919, allocations: 123.5 kB / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.008923, allocations: 0 / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.008925, allocations: 0 / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.008931, allocations: 0 / 446.2 MB, free: 1.746 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.0006245/0.009555, allocations: 357.5 kB / 446.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.00959, allocations: 15.97 kB / 446.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.009636, allocations: 16.78 kB / 446.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.009935, allocations: 149.5 kB / 446.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.009952, allocations: 8.359 kB / 446.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.009974, allocations: 4.375 kB / 446.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.01014, allocations: 58.23 kB / 446.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.01015, allocations: 192 / 446.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.01016, allocations: 384 / 446.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.01017, allocations: 3.938 kB / 446.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.01026, allocations: 19.98 kB / 446.8 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.01067, allocations: 236.5 kB / 447 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.01087, allocations: 62.67 kB / 447.1 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.01093, allocations: 20.84 kB / 447.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.01095, allocations: 0 / 447.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.01113, allocations: 75.27 kB / 447.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.01113, allocations: 0 / 447.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006336/0.01176, allocations: 181.4 kB / 447.4 MB, free: 452 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.01182, allocations: 63.34 kB / 447.4 MB, free: 376 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.01207, allocations: 227.5 kB / 447.6 MB, free: 132 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.0121, allocations: 25.7 kB / 447.7 MB, free: 100 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2405/0.2526, allocations: 116.8 kB / 447.8 MB, free: 19.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.126e-05/0.2527, allocations: 22.38 kB / 447.8 MB, free: 19.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/0.2528, allocations: 22.22 kB / 447.8 MB, free: 19.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.2528, allocations: 325.6 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.253, allocations: 21.89 kB / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.2531, allocations: 36.62 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.2532, allocations: 64.14 kB / 448.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2532, allocations: 1.531 kB / 448.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003412/0.2536, allocations: 108.7 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.2536, allocations: 5.5 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2536, allocations: 2.844 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.2536, allocations: 1.125 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.2538, allocations: 15.23 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2538, allocations: 9.516 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.2539, allocations: 1.828 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.2539, allocations: 3.188 kB / 448.4 MB, free: 18.89 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.0001298/0.254, allocations: 137.2 kB / 448.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.2541, allocations: 17.33 kB / 448.6 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.2545, allocations: 124.9 kB / 448.7 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.2545, allocations: 5.266 kB / 448.7 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2545, allocations: 3.938 kB / 448.7 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2545, allocations: 4.188 kB / 448.7 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.2551, allocations: 344.8 kB / 449 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2551, allocations: 1.719 kB / 449 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/0.2551, allocations: 8.906 kB / 449 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2551, allocations: 5.188 kB / 449.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.2551, allocations: 8.719 kB / 449.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2551, allocations: 3.938 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2551, allocations: 1.094 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.2554, allocations: 218 kB / 449.3 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.2555, allocations: 13.7 kB / 449.3 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.2555, allocations: 10.03 kB / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.2556, allocations: 3.641 kB / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.2557, allocations: 7.25 kB / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.2557, allocations: 3.25 kB / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.2559, allocations: 175.6 kB / 449.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2559, allocations: 3.172 kB / 449.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004623/0.2563, allocations: 27.28 kB / 449.5 MB, free: 18.21 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.002323/0.2587, allocations: 484.2 kB / 450 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.2589, allocations: 56.75 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.259, allocations: 0 / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2591, allocations: 34.16 kB / 450.1 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.2596, allocations: 30.3 kB / 450.1 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.2604, allocations: 257.8 kB / 450.4 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.2605, allocations: 100.5 kB / 450.5 MB, free: 17.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.871e-05/0.2606, allocations: 17.28 kB / 450.5 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.2606, allocations: 17.14 kB / 450.5 MB, free: 17.72 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2606, allocations: 1.094 kB / 450.5 MB, free: 17.72 MB / 366.1 MB Notification: Performance of Templates: time 0.008402/0.269, allocations: 1.853 MB / 452.3 MB, free: 17.48 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.006612215191126]