Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001627/0.001627, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001789/0.001789, allocations: 211 kB / 24.48 MB, free: 3.938 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.493/1.493, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2188/0.2188, allocations: 44.94 MB / 359.6 MB, free: 6.035 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") [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: 63.91 kB / 0.4943 GB, free: 9.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2932, allocations: 65.48 MB / 0.5583 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003248/0.2964, allocations: 1.706 MB / 0.5599 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.2982, allocations: 0.9638 MB / 0.5609 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.2982, allocations: 0 / 0.5609 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.2985, allocations: 51.75 kB / 0.5609 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.2989, allocations: 107.5 kB / 0.561 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.2991, allocations: 87.59 kB / 0.5611 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.2993, allocations: 103.7 kB / 0.5612 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2994, allocations: 4 kB / 0.5612 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.45e-05/0.2994, allocations: 43.78 kB / 0.5612 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.144e-05/0.2995, allocations: 35.78 kB / 0.5613 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.2996, allocations: 4 kB / 0.5613 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.985e-05/0.2997, allocations: 43.92 kB / 0.5613 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.2997, allocations: 31.91 kB / 0.5614 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.2998, allocations: 35.73 kB / 0.5614 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.3, allocations: 125.9 kB / 0.5615 GB, free: 3.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3, allocations: 0 / 0.5615 GB, free: 3.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3, allocations: 0 / 0.5615 GB, free: 3.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3, allocations: 3.938 kB / 0.5615 GB, free: 3.941 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005809/0.3006, allocations: 365.4 kB / 0.5619 GB, free: 3.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3006, allocations: 11.97 kB / 0.5619 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.3007, allocations: 8.891 kB / 0.5619 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.3009, allocations: 159.1 kB / 0.562 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.301, allocations: 4.375 kB / 0.562 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.301, allocations: 12.12 kB / 0.562 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3011, allocations: 53.67 kB / 0.5621 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3011, allocations: 0 / 0.5621 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.3012, allocations: 4 kB / 0.5621 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3012, allocations: 0 / 0.5621 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.3012, allocations: 19.98 kB / 0.5621 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.3016, allocations: 244.4 kB / 0.5624 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.3018, allocations: 54.67 kB / 0.5624 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.3019, allocations: 24.84 kB / 0.5624 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.3019, allocations: 8 kB / 0.5624 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.302, allocations: 67.33 kB / 0.5625 GB, free: 2.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.302, allocations: 4 kB / 0.5625 GB, free: 2.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005888/0.3026, allocations: 181.4 kB / 0.5627 GB, free: 2.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.3026, allocations: 55.34 kB / 0.5627 GB, free: 2.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.3029, allocations: 246.9 kB / 0.563 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3029, allocations: 29.7 kB / 0.563 GB, free: 2.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.017e-05/0.303, allocations: 116.1 kB / 0.5631 GB, free: 2.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.303, allocations: 19.86 kB / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.3031, allocations: 29.7 kB / 0.5632 GB, free: 2.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3033, allocations: 334.7 kB / 0.5635 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.3033, allocations: 19.98 kB / 0.5635 GB, free: 1.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.3034, allocations: 41.64 kB / 0.5635 GB, free: 1.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3035, allocations: 57.66 kB / 0.5636 GB, free: 1.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3035, allocations: 3.984 kB / 0.5636 GB, free: 1.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.3037, allocations: 101.6 kB / 0.5637 GB, free: 1.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3037, allocations: 10.81 kB / 0.5637 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3038, allocations: 0 / 0.5637 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3038, allocations: 4.031 kB / 0.5637 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.3039, allocations: 19.92 kB / 0.5637 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3039, allocations: 4 kB / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.3039, allocations: 0 / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3039, allocations: 8 kB / 0.5637 GB, free: 1.477 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 (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 0.0001212/0.304, allocations: 129.8 kB / 0.5639 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.3041, allocations: 15.91 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.3043, allocations: 127.1 kB / 0.564 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3043, allocations: 7.984 kB / 0.564 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3044, allocations: 4 kB / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3044, allocations: 0 / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.3048, allocations: 354.9 kB / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3048, allocations: 0 / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.3049, allocations: 8 kB / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3049, allocations: 4 kB / 0.5644 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3049, allocations: 4 kB / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3049, allocations: 384 / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/0.3049, allocations: 11.88 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.3052, allocations: 220.3 kB / 0.5646 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.3052, allocations: 15.91 kB / 0.5646 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3052, allocations: 3.938 kB / 0.5646 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.3053, allocations: 8.375 kB / 0.5646 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.3053, allocations: 7.922 kB / 0.5646 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3054, allocations: 4 kB / 0.5646 GB, free: 500 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001765/0.3055, allocations: 179.2 kB / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3055, allocations: 3.938 kB / 0.5648 GB, free: 316 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3058, allocations: 27.98 kB / 0.5648 GB, free: 288 kB / 398.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: 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.001841/0.3076, allocations: 496.9 kB / 0.5653 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.3079, allocations: 63.89 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3079, allocations: 0 / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.03e-05/0.3079, allocations: 31.94 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.3083, allocations: 31.84 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.3089, allocations: 304.9 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.309, allocations: 96.73 kB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.309, allocations: 15.44 kB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.309, allocations: 0 / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Templates: time 0.004271/0.3133, allocations: 2.076 MB / 0.5678 GB, free: 13.35 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.792856638785452]