Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.00148/0.00148, allocations: 113.1 kB / 21.19 MB, free: 0.7773 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.001659/0.001659, allocations: 210.1 kB / 24.49 MB, free: 4.164 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.346/1.346, allocations: 230.5 MB / 258.1 MB, free: 8.027 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.2095/0.2095, allocations: 46.92 MB / 361.5 MB, free: 4.195 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 75.88 kB / 0.4975 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2818, allocations: 66.08 MB / 0.562 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003329/0.2851, allocations: 1.848 MB / 0.5638 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.2871, allocations: 1.115 MB / 0.5649 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2872, allocations: 11.88 kB / 0.5649 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005114/0.2877, allocations: 303.3 kB / 0.5652 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.2882, allocations: 247.2 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.2884, allocations: 107.7 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000391/0.2888, allocations: 271.2 kB / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.2889, allocations: 5.812 kB / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.2891, allocations: 139.5 kB / 0.5659 GB, free: 196 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.2894, allocations: 211.9 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.2894, allocations: 8 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.2896, allocations: 51.97 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.2897, allocations: 128.5 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.2898, allocations: 146.8 kB / 0.5665 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.2903, allocations: 380.6 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2903, allocations: 0 / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2903, allocations: 4 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2903, allocations: 0 / 0.5668 GB, free: 15.29 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.001011/0.2913, allocations: 0.6747 MB / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2914, allocations: 8.031 kB / 0.5675 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.854e-05/0.2915, allocations: 52.61 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.2922, allocations: 390.5 kB / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.2922, allocations: 12.36 kB / 0.5679 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.2922, allocations: 8.375 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.2924, allocations: 87.69 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.2924, allocations: 0 / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.2924, allocations: 3.984 kB / 0.568 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.2924, allocations: 0 / 0.568 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.2925, allocations: 31.92 kB / 0.568 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.293, allocations: 341.5 kB / 0.5684 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.2932, allocations: 101.2 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.393e-05/0.2933, allocations: 45.62 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.2933, allocations: 7.984 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.2936, allocations: 105 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.2936, allocations: 0 / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004884/0.294, allocations: 201.2 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.2941, allocations: 77.11 kB / 0.5689 GB, free: 12.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.2952, allocations: 1.03 MB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.2952, allocations: 33.64 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.2954, allocations: 232.1 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.2955, allocations: 35.7 kB / 0.5702 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.2955, allocations: 25.72 kB / 0.5702 GB, free: 11.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.2957, allocations: 370.8 kB / 0.5706 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.597e-05/0.2958, allocations: 31.92 kB / 0.5706 GB, free: 11.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2959, allocations: 63.41 kB / 0.5707 GB, free: 11.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.2961, allocations: 87.86 kB / 0.5707 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2961, allocations: 4 kB / 0.5707 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003154/0.2964, allocations: 177.2 kB / 0.5709 GB, free: 10.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2964, allocations: 4 kB / 0.5709 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2964, allocations: 4 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2964, allocations: 0 / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.2965, allocations: 27.92 kB / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2965, allocations: 4 kB / 0.5709 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.908e-05/0.2966, allocations: 11.89 kB / 0.571 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.2967, allocations: 4 kB / 0.571 GB, free: 10.8 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.0002171/0.2969, allocations: 220 kB / 0.5712 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.2969, allocations: 59.61 kB / 0.5712 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.2973, allocations: 193.8 kB / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2973, allocations: 4 kB / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2973, allocations: 0 / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2973, allocations: 0 / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.2976, allocations: 312.5 kB / 0.5717 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2976, allocations: 0 / 0.5717 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.2977, allocations: 23.86 kB / 0.5717 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2977, allocations: 0 / 0.5717 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2977, allocations: 8 kB / 0.5717 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2977, allocations: 256 / 0.5717 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2977, allocations: 4 kB / 0.5717 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.298, allocations: 213.5 kB / 0.572 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.2982, allocations: 71.53 kB / 0.572 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.2982, allocations: 4 kB / 0.572 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.2983, allocations: 8 kB / 0.572 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.2983, allocations: 7.984 kB / 0.572 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.2984, allocations: 11.98 kB / 0.5721 GB, free: 9.598 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008255/0.2992, allocations: 0.7604 MB / 0.5728 GB, free: 8.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2992, allocations: 3.938 kB / 0.5728 GB, free: 8.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000258/0.2994, allocations: 40 kB / 0.5728 GB, free: 8.797 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.001457/0.3009, allocations: 405.9 kB / 0.5732 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.3012, allocations: 91.83 kB / 0.5733 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3012, allocations: 0 / 0.5733 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3013, allocations: 39.92 kB / 0.5733 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.3017, allocations: 84.3 kB / 0.5734 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.303, allocations: 0.9107 MB / 0.5743 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.3035, allocations: 0.8465 MB / 0.5751 GB, free: 6.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.3036, allocations: 31.42 kB / 0.5752 GB, free: 6.477 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3036, allocations: 0 / 0.5752 GB, free: 6.477 MB / 414.1 MB Notification: Performance of Templates: time 0.00887/0.3124, allocations: 5.137 MB / 0.5802 GB, free: 1.34 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.331592560978606]