Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.001044/0.001044, 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.001087/0.001087, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.075/1.075, allocations: 177 MB / 205.2 MB, free: 5.055 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.305/0.305, allocations: 34.86 MB / 296.6 MB, free: 452 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 326 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.945e-05, allocations: 11.31 kB / 326 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002266/0.002285, allocations: 1.812 MB / 327.9 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.0035, allocations: 1.006 MB / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.00357, allocations: 0 / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.003837, allocations: 47.75 kB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.004077, allocations: 99.41 kB / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.004214, allocations: 67.69 kB / 329.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.004353, allocations: 115.6 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.296e-05/0.004426, allocations: 8.484 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.004505, allocations: 59.81 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.004569, allocations: 19.92 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.004583, allocations: 4 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.142e-05/0.004654, allocations: 51.86 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.004695, allocations: 27.84 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.004728, allocations: 19.92 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.004875, allocations: 99.66 kB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.004877, allocations: 0 / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004877, allocations: 0 / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.00488, allocations: 0 / 329.5 MB, free: 3.57 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.0003479/0.005228, allocations: 325.5 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.005262, allocations: 12.03 kB / 329.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.005298, allocations: 4.938 kB / 329.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.005498, allocations: 158.2 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.005515, allocations: 4.359 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.005531, allocations: 4.375 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.005647, allocations: 61.77 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.005658, allocations: 192 / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.005665, allocations: 384 / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.005674, allocations: 3.938 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.861e-05/0.005703, allocations: 8 kB / 330 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.005939, allocations: 169.9 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/0.006032, allocations: 85.36 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.006051, allocations: 16.84 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.006062, allocations: 0 / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.259e-05/0.006155, allocations: 62.22 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.006156, allocations: 0 / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002717/0.006427, allocations: 121.5 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.006455, allocations: 51.41 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.006561, allocations: 177.3 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.006576, allocations: 25.7 kB / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.006611, allocations: 100.1 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.006637, allocations: 27.8 kB / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.006668, allocations: 29.69 kB / 330.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.006753, allocations: 326.8 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.006767, allocations: 6.828 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/0.006792, allocations: 30.06 kB / 331.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.884e-05/0.006831, allocations: 32.53 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006832, allocations: 0 / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.163e-05/0.006904, allocations: 76.42 kB / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.006917, allocations: 11.94 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.006921, allocations: 4.031 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.006933, allocations: 0 / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.006992, allocations: 19.92 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.006997, allocations: 7.938 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.007023, allocations: 8 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.007029, allocations: 4 kB / 331.4 MB, free: 1.457 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 5.795e-05/0.007087, allocations: 120.6 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.007097, allocations: 11.94 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.426e-05/0.007191, allocations: 79.06 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.007195, allocations: 4 kB / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.007196, allocations: 4 kB / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.007199, allocations: 0 / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.007392, allocations: 287.6 kB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.007395, allocations: 7.938 kB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.007418, allocations: 11.98 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.007419, allocations: 0 / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.007427, allocations: 4 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007428, allocations: 4 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007429, allocations: 0 / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.007627, allocations: 218.6 kB / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.00764, allocations: 11.89 kB / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.007659, allocations: 7.984 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.732e-05/0.007697, allocations: 4 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.007723, allocations: 7.984 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.007733, allocations: 0 / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.009e-05/0.007773, allocations: 51.64 kB / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.007773, allocations: 0 / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001436/0.007917, allocations: 27.94 kB / 332.2 MB, free: 0.5391 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.001261/0.009178, allocations: 0.5587 MB / 332.8 MB, free: 268 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.694e-05/0.009255, allocations: 36.83 kB / 332.8 MB, free: 228 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.009258, allocations: 4 kB / 332.8 MB, free: 224 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.009286, allocations: 28.72 kB / 332.9 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.009459, allocations: 47.95 kB / 332.9 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.009746, allocations: 212 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.902e-05/0.009785, allocations: 67.34 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.527e-05/0.00982, allocations: 17.27 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.009882, allocations: 71.3 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.009882, allocations: 0 / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of Templates: time 0.00345/0.01333, allocations: 2.006 MB / 335.3 MB, free: 13.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.0118719302117825]