Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001351/0.001351, 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.001584/0.001584, allocations: 169.5 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 0.9604/0.9604, allocations: 177 MB / 205.2 MB, free: 5.016 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.2728/0.2728, allocations: 34.86 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.76e-05, allocations: 2.312 kB / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002439/0.002467, allocations: 1.852 MB / 327.8 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.004319, allocations: 1.801 MB / 329.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.004422, allocations: 7.938 kB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.004759, allocations: 55.62 kB / 329.7 MB, free: 3.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.005147, allocations: 147.2 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.005358, allocations: 107.6 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.005567, allocations: 212 kB / 330.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.00561, allocations: 18.45 kB / 330.2 MB, free: 2.906 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.005729, allocations: 103.7 kB / 330.3 MB, free: 2.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.005859, allocations: 75.73 kB / 330.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.005879, allocations: 8 kB / 330.4 MB, free: 2.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.006017, allocations: 103.9 kB / 330.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.006073, allocations: 39.84 kB / 330.5 MB, free: 2.582 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.006117, allocations: 43.84 kB / 330.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.006344, allocations: 203.2 kB / 330.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.006346, allocations: 0 / 330.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006347, allocations: 0 / 330.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.175e-06/0.00635, allocations: 0 / 330.7 MB, free: 2.34 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004032/0.006753, allocations: 400.8 kB / 331.1 MB, free: 1.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.006784, allocations: 12.03 kB / 331.1 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.006819, allocations: 12.92 kB / 331.2 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.007008, allocations: 177.4 kB / 331.3 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.007024, allocations: 4.375 kB / 331.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.007039, allocations: 4.375 kB / 331.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.007219, allocations: 160.5 kB / 331.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.007227, allocations: 192 / 331.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.007237, allocations: 8.375 kB / 331.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.007243, allocations: 3.938 kB / 331.5 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.007276, allocations: 17.64 kB / 331.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.007387, allocations: 78.38 kB / 331.6 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.00751, allocations: 90.78 kB / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.00754, allocations: 21.72 kB / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.007554, allocations: 0 / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.007684, allocations: 103.8 kB / 331.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.61e-07/0.007685, allocations: 0 / 331.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001794/0.007864, allocations: 95.23 kB / 331.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.007927, allocations: 136.5 kB / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.00807, allocations: 221 kB / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.008086, allocations: 33.64 kB / 332.3 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.008115, allocations: 100.6 kB / 332.4 MB, free: 484 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.008148, allocations: 31.77 kB / 332.4 MB, free: 452 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.008181, allocations: 33.69 kB / 332.4 MB, free: 412 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.008253, allocations: 326.8 kB / 332.8 MB, free: 76 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.008273, allocations: 14.81 kB / 332.8 MB, free: 60 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.008336, allocations: 108.5 kB / 332.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.73e-05/0.008393, allocations: 64.33 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.008396, allocations: 8.031 kB / 333 MB, free: 15.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.954e-05/0.008486, allocations: 95.19 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.008497, allocations: 4 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.008502, allocations: 4 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.008511, allocations: 0 / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.008579, allocations: 20 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.008583, allocations: 3.984 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.008625, allocations: 15.89 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.008631, allocations: 3.938 kB / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 6.589e-05/0.008697, allocations: 128.7 kB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.008714, allocations: 11.98 kB / 333.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.008824, allocations: 98.73 kB / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008826, allocations: 0 / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.008827, allocations: 0 / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.008833, allocations: 7.938 kB / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.121e-05/0.008924, allocations: 97.78 kB / 333.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.008926, allocations: 4 kB / 333.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.008949, allocations: 15.98 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.008952, allocations: 4 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.008957, allocations: 0 / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.008959, allocations: 4 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.00896, allocations: 256 / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.009066, allocations: 138.2 kB / 333.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.009086, allocations: 15.86 kB / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.009105, allocations: 4 kB / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.44e-05/0.009139, allocations: 11.98 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.009166, allocations: 7.984 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.009177, allocations: 0 / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.927e-05/0.009236, allocations: 78.23 kB / 333.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009236, allocations: 8 kB / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.009398, allocations: 55.86 kB / 333.8 MB, free: 14.95 MB / 314.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001257/0.01066, allocations: 0.6248 MB / 334.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.01077, allocations: 60.7 kB / 334.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.01077, allocations: 0 / 334.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/0.0108, allocations: 29.22 kB / 334.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.01097, allocations: 69.42 kB / 334.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.01132, allocations: 284.5 kB / 334.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.01136, allocations: 71.98 kB / 334.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.546e-05/0.01141, allocations: 29.45 kB / 334.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.01152, allocations: 95.34 kB / 335 MB, free: 13.93 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01152, allocations: 0 / 335 MB, free: 13.93 MB / 314.7 MB Notification: Performance of Templates: time 0.004725/0.01624, allocations: 3.734 MB / 338.8 MB, free: 10.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.999755648896098]