Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 112.2 kB / 21.19 MB, free: 0.7734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002392/0.002392, allocations: 210.1 kB / 24.5 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 44.91 MB / 359.6 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 59.91 kB / 0.4944 GB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2847, allocations: 65.47 MB / 0.5583 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003161/0.2879, allocations: 1.768 MB / 0.56 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.2896, allocations: 1.048 MB / 0.5611 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.2897, allocations: 11.81 kB / 0.5611 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.29, allocations: 91.69 kB / 0.5612 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.2903, allocations: 115.5 kB / 0.5613 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.2905, allocations: 83.72 kB / 0.5614 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.2907, allocations: 127.6 kB / 0.5615 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.2908, allocations: 15.97 kB / 0.5615 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.291, allocations: 59.77 kB / 0.5616 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.2911, allocations: 71.8 kB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.2911, allocations: 4 kB / 0.5616 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.2912, allocations: 59.91 kB / 0.5617 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.2913, allocations: 31.86 kB / 0.5617 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.2913, allocations: 39.67 kB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.2916, allocations: 149.8 kB / 0.5619 GB, free: 4.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2916, allocations: 4 kB / 0.5619 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2916, allocations: 0 / 0.5619 GB, free: 4.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.2916, allocations: 0 / 0.5619 GB, free: 4.004 MB / 398.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.000553/0.2921, allocations: 369.3 kB / 0.5623 GB, free: 3.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2922, allocations: 8.031 kB / 0.5623 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.2922, allocations: 16.84 kB / 0.5623 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.2925, allocations: 167 kB / 0.5624 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2925, allocations: 4.375 kB / 0.5624 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.2925, allocations: 8.125 kB / 0.5624 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.2927, allocations: 61.67 kB / 0.5625 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2927, allocations: 0 / 0.5625 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2927, allocations: 4 kB / 0.5625 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2927, allocations: 3.938 kB / 0.5625 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.2928, allocations: 23.97 kB / 0.5625 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.2932, allocations: 275.8 kB / 0.5628 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.2934, allocations: 58.56 kB / 0.5629 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.2935, allocations: 20.97 kB / 0.5629 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.2935, allocations: 4 kB / 0.5629 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.2936, allocations: 75.39 kB / 0.563 GB, free: 2.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.2936, allocations: 0 / 0.563 GB, free: 2.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007455/0.2944, allocations: 241.2 kB / 0.5632 GB, free: 2.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.2944, allocations: 63.34 kB / 0.5632 GB, free: 2.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.2947, allocations: 234.9 kB / 0.5635 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.2947, allocations: 29.7 kB / 0.5635 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.2948, allocations: 112.1 kB / 0.5636 GB, free: 2.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.2948, allocations: 35.73 kB / 0.5636 GB, free: 2.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.2949, allocations: 25.7 kB / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.295, allocations: 326.8 kB / 0.564 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.549e-05/0.2951, allocations: 31.98 kB / 0.564 GB, free: 1.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.601e-05/0.2952, allocations: 49.64 kB / 0.564 GB, free: 1.609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.2954, allocations: 81.58 kB / 0.5641 GB, free: 1.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2954, allocations: 0 / 0.5641 GB, free: 1.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002437/0.2956, allocations: 129.5 kB / 0.5642 GB, free: 1.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2956, allocations: 7.984 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2956, allocations: 4.031 kB / 0.5643 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2956, allocations: 0 / 0.5643 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.2957, allocations: 20 kB / 0.5643 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2957, allocations: 3.938 kB / 0.5643 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.2958, allocations: 15.98 kB / 0.5643 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.2958, allocations: 4 kB / 0.5643 GB, free: 1.336 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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.0001235/0.2959, allocations: 129.8 kB / 0.5644 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.2959, allocations: 11.91 kB / 0.5644 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.2962, allocations: 159.8 kB / 0.5646 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2962, allocations: 0 / 0.5646 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2962, allocations: 3.938 kB / 0.5646 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2963, allocations: 3.984 kB / 0.5646 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.2968, allocations: 427.1 kB / 0.565 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2968, allocations: 0 / 0.565 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.2969, allocations: 15.98 kB / 0.565 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2969, allocations: 8.062 kB / 0.565 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.2969, allocations: 0 / 0.565 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.2969, allocations: 4 kB / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2969, allocations: 0 / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.2972, allocations: 237 kB / 0.5653 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.2972, allocations: 15.91 kB / 0.5653 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.2972, allocations: 8 kB / 0.5653 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.2973, allocations: 4 kB / 0.5653 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.2973, allocations: 11.98 kB / 0.5653 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.2974, allocations: 4 kB / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.2975, allocations: 171.2 kB / 0.5655 GB, free: 48 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2975, allocations: 0 / 0.5655 GB, free: 48 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.2978, allocations: 35.92 kB / 0.5655 GB, free: 12 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001988/0.2998, allocations: 0.5184 MB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.3, allocations: 75.84 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3, allocations: 0 / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.991e-05/0.3001, allocations: 39.92 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3005, allocations: 31.67 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005642/0.301, allocations: 318.3 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.3014, allocations: 0.7119 MB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.3015, allocations: 23.42 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3015, allocations: 0 / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Templates: time 0.004626/0.3061, allocations: 2.274 MB / 0.5694 GB, free: 12.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.871898108860478]