Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001855/0.001855, 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.002179/0.002179, allocations: 209.5 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.492/1.492, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.2253/0.2253, allocations: 44.93 MB / 359.6 MB, free: 6.066 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") [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.002056/0.002056, allocations: 63.89 kB / 0.4943 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3744, allocations: 65.48 MB / 0.5583 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003609/0.378, allocations: 1.706 MB / 0.5599 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3799, allocations: 0.9715 MB / 0.5609 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.334e-05/0.38, allocations: 7.938 kB / 0.5609 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.3803, allocations: 39.83 kB / 0.5609 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.3806, allocations: 91.56 kB / 0.561 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.3808, allocations: 79.66 kB / 0.5611 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.381, allocations: 107.7 kB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3811, allocations: 8 kB / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.313e-05/0.3812, allocations: 47.77 kB / 0.5612 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.3813, allocations: 31.8 kB / 0.5613 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3813, allocations: 4 kB / 0.5613 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3814, allocations: 43.97 kB / 0.5613 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.3815, allocations: 15.92 kB / 0.5613 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.3816, allocations: 27.81 kB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.3818, allocations: 125.9 kB / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3818, allocations: 0 / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3818, allocations: 0 / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.3818, allocations: 3.984 kB / 0.5615 GB, free: 4.117 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.0006217/0.3824, allocations: 341.5 kB / 0.5618 GB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3825, allocations: 8.031 kB / 0.5618 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.3825, allocations: 12.84 kB / 0.5618 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.3828, allocations: 150.3 kB / 0.562 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3828, allocations: 4.359 kB / 0.562 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3828, allocations: 12.12 kB / 0.562 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.383, allocations: 53.67 kB / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.383, allocations: 0 / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.383, allocations: 0 / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.383, allocations: 4 kB / 0.562 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.3831, allocations: 35.91 kB / 0.5621 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.3835, allocations: 224.5 kB / 0.5623 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.3837, allocations: 58.67 kB / 0.5623 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/0.3838, allocations: 20.86 kB / 0.5624 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3838, allocations: 0 / 0.5624 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.3839, allocations: 75.31 kB / 0.5624 GB, free: 3.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3839, allocations: 0 / 0.5624 GB, free: 3.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005585/0.3845, allocations: 185.3 kB / 0.5626 GB, free: 2.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3845, allocations: 51.41 kB / 0.5627 GB, free: 2.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.3847, allocations: 191.2 kB / 0.5628 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3848, allocations: 29.64 kB / 0.5629 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.3848, allocations: 104.1 kB / 0.563 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.3849, allocations: 23.84 kB / 0.563 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.3849, allocations: 25.72 kB / 0.563 GB, free: 2.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3851, allocations: 330.8 kB / 0.5633 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.3851, allocations: 19.98 kB / 0.5634 GB, free: 2.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-05/0.3852, allocations: 33.7 kB / 0.5634 GB, free: 1.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3853, allocations: 65.64 kB / 0.5634 GB, free: 1.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3853, allocations: 0 / 0.5634 GB, free: 1.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002033/0.3855, allocations: 109.5 kB / 0.5636 GB, free: 1.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3855, allocations: 4 kB / 0.5636 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3855, allocations: 4.031 kB / 0.5636 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3855, allocations: 4 kB / 0.5636 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.195e-05/0.3856, allocations: 19.92 kB / 0.5636 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3856, allocations: 0 / 0.5636 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.3857, allocations: 4 kB / 0.5636 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3857, allocations: 4 kB / 0.5636 GB, free: 1.766 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.0001084/0.3858, allocations: 128.5 kB / 0.5637 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.3858, allocations: 11.94 kB / 0.5637 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.3861, allocations: 123 kB / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3861, allocations: 0 / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3861, allocations: 8 kB / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3861, allocations: 0 / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.3866, allocations: 350.9 kB / 0.5642 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3866, allocations: 384 / 0.5642 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.3866, allocations: 8 kB / 0.5642 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3866, allocations: 0 / 0.5642 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3866, allocations: 8 kB / 0.5642 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.3866, allocations: 3.938 kB / 0.5642 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3866, allocations: 3.938 kB / 0.5642 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3869, allocations: 228.5 kB / 0.5644 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.3869, allocations: 7.953 kB / 0.5644 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.3869, allocations: 0 / 0.5644 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.387, allocations: 8 kB / 0.5644 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.3871, allocations: 11.92 kB / 0.5644 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.3871, allocations: 4 kB / 0.5645 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.3872, allocations: 146 kB / 0.5646 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3872, allocations: 0 / 0.5646 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3875, allocations: 16 kB / 0.5646 GB, free: 0.6406 MB / 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.001871/0.3894, allocations: 0.4966 MB / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.3896, allocations: 59.91 kB / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3896, allocations: 0 / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3897, allocations: 31.92 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.39, allocations: 36.09 kB / 0.5652 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.3906, allocations: 253 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.3907, allocations: 84.19 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.3908, allocations: 23.42 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3908, allocations: 3.938 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Templates: time 0.004449/0.3952, allocations: 1.97 MB / 0.5675 GB, free: 13.85 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.99468455510214]