Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001702/0.001702, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002103/0.002103, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.273/0.273, allocations: 44.94 MB / 358.8 MB, free: 6.156 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [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.002237/0.002237, allocations: 74.09 kB / 0.4936 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3665, allocations: 65.47 MB / 0.5575 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003453/0.3699, allocations: 1.876 MB / 0.5594 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.3721, allocations: 1.077 MB / 0.5604 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.3722, allocations: 7.938 kB / 0.5604 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.3728, allocations: 255.3 kB / 0.5607 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005717/0.3734, allocations: 231.2 kB / 0.5609 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.3737, allocations: 115.6 kB / 0.561 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.3741, allocations: 279.2 kB / 0.5613 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3742, allocations: 21.95 kB / 0.5613 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.3744, allocations: 131.6 kB / 0.5614 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.3747, allocations: 203.4 kB / 0.5616 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.3747, allocations: 8 kB / 0.5616 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.3749, allocations: 63.98 kB / 0.5617 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.375, allocations: 71.69 kB / 0.5617 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3751, allocations: 75.36 kB / 0.5618 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.3755, allocations: 261.2 kB / 0.5621 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3755, allocations: 0 / 0.5621 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3755, allocations: 4 kB / 0.5621 GB, free: 2.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.3755, allocations: 0 / 0.5621 GB, free: 2.797 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008273/0.3763, allocations: 0.5235 MB / 0.5626 GB, free: 2.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3764, allocations: 8.031 kB / 0.5626 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.3765, allocations: 32.75 kB / 0.5626 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.3769, allocations: 228.8 kB / 0.5628 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3769, allocations: 8.375 kB / 0.5628 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.3769, allocations: 8.125 kB / 0.5628 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.3772, allocations: 119.3 kB / 0.563 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3772, allocations: 4 kB / 0.563 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3772, allocations: 4 kB / 0.563 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.3772, allocations: 7.938 kB / 0.563 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.3773, allocations: 43.97 kB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.3779, allocations: 424.4 kB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.3783, allocations: 121.2 kB / 0.5635 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3785, allocations: 45.81 kB / 0.5636 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3785, allocations: 7.938 kB / 0.5636 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.3787, allocations: 125 kB / 0.5637 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.3787, allocations: 4 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001422/0.3801, allocations: 0.521 MB / 0.5642 GB, free: 444 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.3802, allocations: 81.05 kB / 0.5643 GB, free: 344 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.3808, allocations: 0.5015 MB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.3808, allocations: 37.7 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3809, allocations: 172.5 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.381, allocations: 75.42 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.3811, allocations: 41.7 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3813, allocations: 350.8 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3814, allocations: 59.91 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.3816, allocations: 99.33 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.3819, allocations: 159.3 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3819, allocations: 4 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004323/0.3823, allocations: 245.4 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3823, allocations: 10.66 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3823, allocations: 7.875 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3823, allocations: 4 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.3825, allocations: 39.97 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3825, allocations: 4 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.737e-05/0.3826, allocations: 8 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.3826, allocations: 12.06 kB / 0.5661 GB, free: 14.46 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001768/0.3828, allocations: 178.3 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.3828, allocations: 35.77 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005641/0.3834, allocations: 292.4 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3834, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3834, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3834, allocations: 4 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009717/0.3844, allocations: 0.6878 MB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3844, allocations: 4 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.883e-05/0.3845, allocations: 31.92 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3845, allocations: 4 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.3845, allocations: 8 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.3845, allocations: 4 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3845, allocations: 0 / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005366/0.3851, allocations: 447.3 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.3851, allocations: 35.98 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.3852, allocations: 12.12 kB / 0.5677 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.3853, allocations: 11.94 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.3854, allocations: 19.91 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.3854, allocations: 19.98 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003921/0.3858, allocations: 375.1 kB / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3858, allocations: 0 / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003727/0.3862, allocations: 55.92 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002151/0.3883, allocations: 0.5504 MB / 0.5687 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.3887, allocations: 159.8 kB / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3887, allocations: 0 / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.3889, allocations: 79.83 kB / 0.569 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.3894, allocations: 72.28 kB / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.3905, allocations: 0.6098 MB / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.3907, allocations: 178.4 kB / 0.5698 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.3908, allocations: 45.91 kB / 0.5698 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.3909, allocations: 31.42 kB / 0.5699 GB, free: 10.65 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3909, allocations: 0 / 0.5699 GB, free: 10.65 MB / 414.1 MB Notification: Performance of Templates: time 0.008456/0.3993, allocations: 3.57 MB / 0.5734 GB, free: 7.129 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.338028486818075]