Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001136/0.001136, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001328/0.001328, allocations: 160.3 kB / 24.91 MB, free: 8.758 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 1.093/1.093, allocations: 177 MB / 205.2 MB, free: 5.426 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.2512/0.2512, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.575e-05, allocations: 5.453 kB / 326 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.006185/0.00621, allocations: 1.767 MB / 327.8 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004644/0.01085, allocations: 1.004 MB / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.942e-05/0.01095, allocations: 0 / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.01125, allocations: 43.7 kB / 328.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.01161, allocations: 95.47 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.01187, allocations: 83.66 kB / 329 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.01208, allocations: 104.4 kB / 329.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.01218, allocations: 19.95 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.0123, allocations: 55.78 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/0.01237, allocations: 23.91 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.01239, allocations: 8 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-05/0.01249, allocations: 47.91 kB / 329.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.01254, allocations: 15.92 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.01258, allocations: 19.88 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.01277, allocations: 99.66 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.01277, allocations: 4 kB / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01277, allocations: 0 / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.01277, allocations: 0 / 329.4 MB, free: 3.672 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004018/0.01318, allocations: 325.5 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.01321, allocations: 8.031 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.01325, allocations: 12.92 kB / 329.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.01342, allocations: 146.3 kB / 329.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.01343, allocations: 384 / 329.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003034/0.01647, allocations: 12.31 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.01662, allocations: 57.77 kB / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.01663, allocations: 4.172 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.01664, allocations: 8.375 kB / 329.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.01665, allocations: 7.938 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.01668, allocations: 7.984 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.01694, allocations: 169.9 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.01705, allocations: 81.3 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.01708, allocations: 12.92 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.01709, allocations: 0 / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.01719, allocations: 62.2 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.01719, allocations: 4 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003493/0.01754, allocations: 117.5 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.01758, allocations: 55.34 kB / 330.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.01771, allocations: 185.2 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.01772, allocations: 29.7 kB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.01776, allocations: 92.12 kB / 330.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.01779, allocations: 27.77 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.01783, allocations: 21.72 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.01792, allocations: 326.8 kB / 331.1 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.01794, allocations: 10.81 kB / 331.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.01797, allocations: 25.72 kB / 331.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.726e-05/0.01803, allocations: 52.44 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01803, allocations: 4 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.938e-05/0.01813, allocations: 60.88 kB / 331.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.01814, allocations: 11.94 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01815, allocations: 0 / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.01816, allocations: 0 / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.01823, allocations: 19.94 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.01824, allocations: 4 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.744e-05/0.01827, allocations: 8.016 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.01828, allocations: 8 kB / 331.3 MB, free: 1.555 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 (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 7.41e-05/0.01836, allocations: 108.7 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.01838, allocations: 19.92 kB / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.0185, allocations: 71.83 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.0185, allocations: 0 / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01851, allocations: 7.938 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01851, allocations: 0 / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.01878, allocations: 295.4 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.01878, allocations: 7.969 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.01882, allocations: 8 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01882, allocations: 4 kB / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.01883, allocations: 0 / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01883, allocations: 240 / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.01883, allocations: 4 kB / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.01896, allocations: 219 kB / 332 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.01898, allocations: 11.89 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.019, allocations: 0 / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.01906, allocations: 4 kB / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.01909, allocations: 11.98 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.01911, allocations: 4 kB / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.806e-05/0.01916, allocations: 55.62 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01916, allocations: 0 / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003271/0.02243, allocations: 19.94 kB / 332.2 MB, free: 0.6445 MB / 298.7 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.001621/0.02406, allocations: 0.5728 MB / 332.7 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.02417, allocations: 40.78 kB / 332.8 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.02417, allocations: 0 / 332.8 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.02421, allocations: 20.86 kB / 332.8 MB, free: 292 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.02446, allocations: 31.91 kB / 332.8 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.02484, allocations: 220 kB / 333 MB, free: 8 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.148e-05/0.0249, allocations: 71.45 kB / 333.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.697e-05/0.02495, allocations: 17.28 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.02503, allocations: 67.36 kB / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02503, allocations: 0 / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of Templates: time 0.01074/0.03578, allocations: 2.021 MB / 335.2 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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: 3.063634796999395]