Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001771/0.001771, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.00234/0.00234, allocations: 207.5 kB / 23.72 MB, free: 4.496 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.242/0.242, allocations: 44.94 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 179] 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") [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.00215/0.00215, allocations: 63.91 kB / 0.4936 GB, free: 9.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3705, allocations: 65.48 MB / 0.5575 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003986/0.3745, allocations: 1.706 MB / 0.5592 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.3764, allocations: 0.9637 MB / 0.5601 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.916e-05/0.3765, allocations: 0 / 0.5601 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.3769, allocations: 55.75 kB / 0.5602 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.3773, allocations: 95.55 kB / 0.5603 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.3775, allocations: 79.67 kB / 0.5604 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.3778, allocations: 103.7 kB / 0.5605 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3779, allocations: 8 kB / 0.5605 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.017e-05/0.378, allocations: 47.78 kB / 0.5605 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.356e-05/0.378, allocations: 31.78 kB / 0.5605 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3781, allocations: 4 kB / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3782, allocations: 47.92 kB / 0.5606 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.3782, allocations: 19.92 kB / 0.5606 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.46e-05/0.3783, allocations: 31.78 kB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.3786, allocations: 133.8 kB / 0.5608 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3786, allocations: 0 / 0.5608 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3786, allocations: 0 / 0.5608 GB, free: 4.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3786, allocations: 0 / 0.5608 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.0005948/0.3792, allocations: 349.5 kB / 0.5611 GB, free: 3.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3792, allocations: 8.031 kB / 0.5611 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.3792, allocations: 12.89 kB / 0.5611 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.3795, allocations: 158.2 kB / 0.5613 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3796, allocations: 4.375 kB / 0.5613 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.3796, allocations: 4.125 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3797, allocations: 61.67 kB / 0.5613 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3797, allocations: 3.984 kB / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3798, allocations: 0 / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3798, allocations: 0 / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/0.3798, allocations: 19.98 kB / 0.5614 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.3802, allocations: 244.4 kB / 0.5616 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.3804, allocations: 58.67 kB / 0.5616 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.3805, allocations: 20.86 kB / 0.5617 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3805, allocations: 0 / 0.5617 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.3807, allocations: 75.31 kB / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3807, allocations: 0 / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005861/0.3812, allocations: 177.4 kB / 0.5619 GB, free: 2.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3813, allocations: 63.28 kB / 0.562 GB, free: 2.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.3815, allocations: 222.6 kB / 0.5622 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3815, allocations: 29.7 kB / 0.5622 GB, free: 2.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.3816, allocations: 108.1 kB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.3816, allocations: 23.84 kB / 0.5623 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.3817, allocations: 25.72 kB / 0.5624 GB, free: 2.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3818, allocations: 326.8 kB / 0.5627 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.3819, allocations: 23.98 kB / 0.5627 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.382, allocations: 37.7 kB / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.3821, allocations: 69.69 kB / 0.5628 GB, free: 1.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3821, allocations: 0 / 0.5628 GB, free: 1.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001977/0.3823, allocations: 105.6 kB / 0.5629 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3823, allocations: 8.031 kB / 0.5629 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3823, allocations: 0 / 0.5629 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3823, allocations: 0 / 0.5629 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.3824, allocations: 19.94 kB / 0.5629 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3824, allocations: 0 / 0.5629 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.3825, allocations: 7.984 kB / 0.5629 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3825, allocations: 4 kB / 0.5629 GB, free: 1.703 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.0001195/0.3826, allocations: 125.8 kB / 0.5631 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3826, allocations: 15.89 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.3829, allocations: 131 kB / 0.5632 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3829, allocations: 3.984 kB / 0.5632 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3829, allocations: 384 / 0.5632 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3829, allocations: 0 / 0.5632 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.3834, allocations: 354.9 kB / 0.5635 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.3834, allocations: 4 kB / 0.5635 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.3834, allocations: 8 kB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3834, allocations: 0 / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3835, allocations: 4 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3835, allocations: 0 / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3835, allocations: 8.25 kB / 0.5636 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.3837, allocations: 224.2 kB / 0.5638 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.3838, allocations: 7.953 kB / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.3838, allocations: 4 kB / 0.5638 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.3839, allocations: 4 kB / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.3839, allocations: 19.8 kB / 0.5638 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3839, allocations: 4 kB / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.3841, allocations: 163.2 kB / 0.564 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3841, allocations: 0 / 0.564 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.3844, allocations: 20 kB / 0.564 GB, free: 0.543 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.001867/0.3862, allocations: 490.2 kB / 0.5645 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.3864, allocations: 67.89 kB / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3864, allocations: 0 / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.3865, allocations: 31.98 kB / 0.5645 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.3868, allocations: 34.27 kB / 0.5646 GB, free: 148 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.3873, allocations: 247.1 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.3874, allocations: 92.73 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.009e-05/0.3875, allocations: 24.97 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.3875, allocations: 15.44 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3875, allocations: 0 / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of Templates: time 0.005317/0.3929, allocations: 1.922 MB / 0.5668 GB, free: 13.83 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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: 5.508110877126455]