Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.001281/0.001281, 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.001252/0.001252, allocations: 169.5 kB / 24.91 MB, free: 8.773 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.021/1.021, allocations: 177 MB / 205.2 MB, free: 5.453 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.2716/0.2716, allocations: 34.87 MB / 296.6 MB, free: 0.4961 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.82e-07/8.82e-07, allocations: 0 / 326 MB, free: 7.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.269e-05, allocations: 4.984 kB / 326 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002113/0.002126, allocations: 1.802 MB / 327.9 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003274, allocations: 1.012 MB / 328.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.003328, allocations: 7.938 kB / 328.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.00352, allocations: 35.77 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.003722, allocations: 95.42 kB / 329 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.003855, allocations: 79.66 kB / 329.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.003975, allocations: 108.4 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.004033, allocations: 11.97 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.004103, allocations: 51.84 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.004159, allocations: 31.89 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.004169, allocations: 4 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.004236, allocations: 51.86 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.00427, allocations: 23.86 kB / 329.4 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.004297, allocations: 19.92 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.004463, allocations: 95.66 kB / 329.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004465, allocations: 4 kB / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.004466, allocations: 0 / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.565e-06/0.004468, allocations: 0 / 329.5 MB, free: 3.598 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.0003054/0.004774, allocations: 317.5 kB / 329.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.592e-05/0.004799, allocations: 8.031 kB / 329.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.004827, allocations: 16.92 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.004957, allocations: 154.1 kB / 330 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.004969, allocations: 4.375 kB / 330 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.004983, allocations: 4.375 kB / 330 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.457e-05/0.005067, allocations: 61.77 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.005075, allocations: 192 / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.005082, allocations: 4.375 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.005088, allocations: 3.938 kB / 330 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.388e-05/0.005112, allocations: 11.98 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.005276, allocations: 158 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.638e-05/0.005362, allocations: 93.22 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.005382, allocations: 16.92 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.005391, allocations: 0 / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.535e-05/0.005466, allocations: 58.22 kB / 330.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.005467, allocations: 0 / 330.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002393/0.005707, allocations: 121.8 kB / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.005729, allocations: 51.41 kB / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.005825, allocations: 177.3 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.005839, allocations: 29.7 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.005868, allocations: 96.12 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.00589, allocations: 31.77 kB / 330.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.005917, allocations: 17.72 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.009e-05/0.005987, allocations: 326.8 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.006004, allocations: 18.81 kB / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.006024, allocations: 21.72 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.006065, allocations: 48.5 kB / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.006065, allocations: 0 / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.846e-05/0.006134, allocations: 68.44 kB / 331.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.006144, allocations: 7.938 kB / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.006147, allocations: 4.031 kB / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.00616, allocations: 4 kB / 331.4 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.006211, allocations: 12 kB / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.006213, allocations: 0 / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.006244, allocations: 19.92 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.006249, allocations: 0 / 331.4 MB, free: 1.492 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.643e-05/0.006306, allocations: 116.7 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.006319, allocations: 23.86 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.927e-05/0.006408, allocations: 75.06 kB / 331.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.00641, allocations: 4 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006412, allocations: 0 / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006415, allocations: 0 / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.006604, allocations: 299.6 kB / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.006606, allocations: 3.938 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.006627, allocations: 8 kB / 331.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.00663, allocations: 4 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.006635, allocations: 0 / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.006635, allocations: 0 / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006636, allocations: 0 / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.385e-05/0.00673, allocations: 229.7 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.00674, allocations: 11.89 kB / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.006753, allocations: 0 / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.668e-05/0.006789, allocations: 4 kB / 332.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.00681, allocations: 7.984 kB / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.006819, allocations: 4 kB / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.942e-05/0.006859, allocations: 51.64 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006859, allocations: 0 / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001318/0.00699, allocations: 23.92 kB / 332.2 MB, free: 0.5703 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.001202/0.008193, allocations: 0.5556 MB / 332.8 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.746e-05/0.00827, allocations: 48.77 kB / 332.8 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.008272, allocations: 0 / 332.8 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.722e-05/0.008299, allocations: 28.78 kB / 332.9 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.008458, allocations: 32.03 kB / 332.9 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.008723, allocations: 216 kB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.008759, allocations: 71.31 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.2e-05/0.008791, allocations: 13.28 kB / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.00885, allocations: 75.3 kB / 333.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008851, allocations: 0 / 333.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Templates: time 0.003147/0.012, allocations: 2.018 MB / 335.3 MB, free: 13.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.02114531211555]