Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001176/0.001176, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.0009461/0.0009461, allocations: 161.1 kB / 24.91 MB, free: 8.73 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.9359/0.9359, allocations: 177 MB / 205.2 MB, free: 5.062 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.2759/0.2759, allocations: 34.87 MB / 296.6 MB, free: 472 kB / 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.644e-05, allocations: 2.312 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002116/0.002133, allocations: 1.79 MB / 327.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003289, allocations: 1.006 MB / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.291e-05/0.003352, allocations: 4 kB / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.003587, allocations: 43.69 kB / 328.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.00383, allocations: 111.5 kB / 329 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.003968, allocations: 83.59 kB / 329 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.004241, allocations: 132.4 kB / 329.2 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.066e-05/0.004312, allocations: 11.98 kB / 329.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.591e-05/0.004398, allocations: 71.75 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.004478, allocations: 43.88 kB / 329.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.004493, allocations: 7.938 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.339e-05/0.004576, allocations: 63.92 kB / 329.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.004621, allocations: 27.91 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.004656, allocations: 27.92 kB / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.004824, allocations: 135.4 kB / 329.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.004825, allocations: 4 kB / 329.6 MB, free: 3.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004826, allocations: 0 / 329.6 MB, free: 3.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.004829, allocations: 0 / 329.6 MB, free: 3.535 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003588/0.005188, allocations: 337.4 kB / 329.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.005216, allocations: 8.031 kB / 329.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.005246, allocations: 12.92 kB / 329.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.005383, allocations: 154 kB / 330.1 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.005398, allocations: 4.359 kB / 330.1 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.005419, allocations: 12.31 kB / 330.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.998e-05/0.005519, allocations: 73.75 kB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.005528, allocations: 8.141 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.005535, allocations: 384 / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.00554, allocations: 7.938 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.726e-05/0.005578, allocations: 23.95 kB / 330.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.005775, allocations: 185.9 kB / 330.4 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.005923, allocations: 101.3 kB / 330.5 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.005945, allocations: 17 kB / 330.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.005955, allocations: 0 / 330.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.142e-05/0.006036, allocations: 78.22 kB / 330.6 MB, free: 2.434 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 7.82e-07/0.006037, allocations: 4 kB / 330.6 MB, free: 2.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003873/0.006424, allocations: 195.9 kB / 330.7 MB, free: 2.234 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.006455, allocations: 59.34 kB / 330.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.538e-05/0.00655, allocations: 172.3 kB / 331 MB, free: 1.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.006565, allocations: 29.7 kB / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.006593, allocations: 96.3 kB / 331.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.006624, allocations: 47.67 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.006657, allocations: 33.69 kB / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.006724, allocations: 326.8 kB / 331.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.006746, allocations: 18.83 kB / 331.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.006774, allocations: 29.7 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.279e-05/0.006837, allocations: 65.56 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006838, allocations: 0 / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.601e-05/0.006924, allocations: 92.38 kB / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.006935, allocations: 8 kB / 331.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006939, allocations: 0 / 331.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.006949, allocations: 0 / 331.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.007006, allocations: 31.86 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.007008, allocations: 4.031 kB / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.007036, allocations: 11.92 kB / 331.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.007042, allocations: 4 kB / 331.8 MB, free: 1.152 MB / 298.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 (15): * Single equations (assignments): 15 * 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.867e-05/0.007101, allocations: 119.1 kB / 331.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.007116, allocations: 15.92 kB / 331.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.007236, allocations: 111 kB / 332 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.007237, allocations: 0 / 332 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.00724, allocations: 8 kB / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.007243, allocations: 0 / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.007492, allocations: 352.2 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007493, allocations: 0 / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.007538, allocations: 23.92 kB / 332.4 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.007541, allocations: 0 / 332.4 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.007549, allocations: 8 kB / 332.4 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007551, allocations: 0 / 332.4 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.007552, allocations: 4 kB / 332.4 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.007925, allocations: 246.2 kB / 332.6 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.007939, allocations: 15.89 kB / 332.6 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.007956, allocations: 4.062 kB / 332.6 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/0.007999, allocations: 12 kB / 332.7 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.008024, allocations: 15.91 kB / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.008036, allocations: 8 kB / 332.7 MB, free: 160 kB / 298.7 MB Notification: Performance of sorting global known variables: time 3.847e-05/0.008074, allocations: 52.69 kB / 332.7 MB, free: 104 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008074, allocations: 0 / 332.7 MB, free: 104 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001451/0.008219, allocations: 35.94 kB / 332.8 MB, free: 68 kB / 298.7 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 (16): * Single equations (assignments): 14 * 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.001373/0.009593, allocations: 0.6424 MB / 333.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.009701, allocations: 76.56 kB / 333.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.009703, allocations: 0 / 333.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.602e-05/0.009749, allocations: 44.78 kB / 333.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.009923, allocations: 27.98 kB / 333.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.01024, allocations: 273.3 kB / 333.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.01028, allocations: 71.84 kB / 333.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.567e-05/0.01033, allocations: 25.66 kB / 333.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.0104, allocations: 75.36 kB / 334 MB, free: 15.1 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.0104, allocations: 0 / 334 MB, free: 15.1 MB / 314.7 MB Notification: Performance of Templates: time 0.003713/0.01411, allocations: 2.587 MB / 336.6 MB, free: 12.55 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.930982514284551]