Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001248/0.001248, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001466/0.001466, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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.362/1.362, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.2096/0.2096, allocations: 46.93 MB / 361.5 MB, free: 4.199 MB / 286.1 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 83.86 kB / 0.4975 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2866, allocations: 66.07 MB / 0.562 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003069/0.2897, allocations: 1.85 MB / 0.5638 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2916, allocations: 1.125 MB / 0.5649 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.2917, allocations: 3.938 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.2922, allocations: 311.3 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.2927, allocations: 263.2 kB / 0.5655 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.2929, allocations: 107.6 kB / 0.5656 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.2933, allocations: 263.2 kB / 0.5658 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.194e-05/0.2933, allocations: 9.797 kB / 0.5658 GB, free: 308 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.2935, allocations: 135.5 kB / 0.566 GB, free: 172 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.2938, allocations: 219.4 kB / 0.5662 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.2938, allocations: 4 kB / 0.5662 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.2939, allocations: 47.98 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.2941, allocations: 147.6 kB / 0.5664 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.2942, allocations: 150.7 kB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.2946, allocations: 380.6 kB / 0.5669 GB, free: 15.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2946, allocations: 0 / 0.5669 GB, free: 15.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2946, allocations: 4 kB / 0.5669 GB, free: 15.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.2946, allocations: 0 / 0.5669 GB, free: 15.24 MB / 414.1 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.0009475/0.2956, allocations: 0.6863 MB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2956, allocations: 8.031 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.2957, allocations: 56.61 kB / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006126/0.2963, allocations: 402.5 kB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2963, allocations: 4.359 kB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.2964, allocations: 4.375 kB / 0.568 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.2966, allocations: 87.69 kB / 0.5681 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2966, allocations: 0 / 0.5681 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2966, allocations: 0 / 0.5681 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.2966, allocations: 3.984 kB / 0.5681 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.2967, allocations: 35.92 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.2971, allocations: 353.4 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.2973, allocations: 109.1 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.621e-05/0.2974, allocations: 37.7 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.2975, allocations: 4 kB / 0.5686 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.2977, allocations: 112.9 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.2977, allocations: 0 / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004681/0.2982, allocations: 205.2 kB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.2982, allocations: 77.11 kB / 0.569 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.2993, allocations: 1.05 MB / 0.57 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.2994, allocations: 29.7 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.2996, allocations: 236.1 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.2996, allocations: 31.73 kB / 0.5703 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.2996, allocations: 25.72 kB / 0.5703 GB, free: 11.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.2998, allocations: 378.8 kB / 0.5707 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.2999, allocations: 31.98 kB / 0.5707 GB, free: 11.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.607e-05/0.3, allocations: 55.42 kB / 0.5707 GB, free: 11.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.3002, allocations: 95.84 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3002, allocations: 0 / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002969/0.3005, allocations: 173.2 kB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3005, allocations: 4 kB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3005, allocations: 4 kB / 0.571 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3005, allocations: 3.938 kB / 0.571 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.3007, allocations: 23.92 kB / 0.571 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3007, allocations: 4 kB / 0.571 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.3008, allocations: 15.98 kB / 0.5711 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3008, allocations: 8 kB / 0.5711 GB, free: 10.69 MB / 414.1 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0002207/0.301, allocations: 223.9 kB / 0.5713 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.3011, allocations: 59.56 kB / 0.5713 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.3014, allocations: 193.9 kB / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3014, allocations: 3.938 kB / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3014, allocations: 4 kB / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3014, allocations: 0 / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.3018, allocations: 324.5 kB / 0.5718 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3018, allocations: 0 / 0.5718 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.3018, allocations: 15.92 kB / 0.5718 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3018, allocations: 0 / 0.5718 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3018, allocations: 4.25 kB / 0.5719 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3019, allocations: 4 kB / 0.5719 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3019, allocations: 0 / 0.5719 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.3022, allocations: 225.4 kB / 0.5721 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.3023, allocations: 63.55 kB / 0.5721 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.3024, allocations: 11.98 kB / 0.5721 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.3024, allocations: 7.938 kB / 0.5721 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.3025, allocations: 7.984 kB / 0.5722 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.3025, allocations: 11.98 kB / 0.5722 GB, free: 9.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008234/0.3033, allocations: 0.78 MB / 0.5729 GB, free: 8.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3033, allocations: 0 / 0.5729 GB, free: 8.691 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3036, allocations: 44 kB / 0.573 GB, free: 8.648 MB / 414.1 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.001431/0.305, allocations: 408.2 kB / 0.5734 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3053, allocations: 83.89 kB / 0.5734 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3053, allocations: 0 / 0.5734 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.3054, allocations: 43.86 kB / 0.5735 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.3058, allocations: 72.33 kB / 0.5736 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.3071, allocations: 0.9381 MB / 0.5745 GB, free: 7.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.3075, allocations: 0.8468 MB / 0.5753 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.3076, allocations: 27.44 kB / 0.5753 GB, free: 6.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3076, allocations: 3.938 kB / 0.5753 GB, free: 6.316 MB / 414.1 MB Notification: Performance of Templates: time 0.008325/0.3159, allocations: 5.239 MB / 0.5804 GB, free: 1.074 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.411924168933183]