Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001775/0.001775, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002168/0.002168, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.562/1.562, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2369/0.2369, allocations: 44.91 MB / 359.6 MB, free: 6.258 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") [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.00201/0.00201, allocations: 71.89 kB / 0.4944 GB, free: 10.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3681, allocations: 65.46 MB / 0.5583 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003323/0.3714, allocations: 1.769 MB / 0.56 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3732, allocations: 1.056 MB / 0.5611 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.3733, allocations: 3.938 kB / 0.5611 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.3737, allocations: 91.67 kB / 0.5612 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.374, allocations: 115.6 kB / 0.5613 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.3742, allocations: 79.67 kB / 0.5613 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.3744, allocations: 123.6 kB / 0.5615 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.3745, allocations: 15.97 kB / 0.5615 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.3746, allocations: 59.77 kB / 0.5615 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3747, allocations: 67.75 kB / 0.5616 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.3748, allocations: 4 kB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3749, allocations: 63.97 kB / 0.5617 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.547e-05/0.3749, allocations: 19.92 kB / 0.5617 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.375, allocations: 43.67 kB / 0.5617 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.3752, allocations: 137.8 kB / 0.5619 GB, free: 4.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3752, allocations: 0 / 0.5619 GB, free: 4.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3752, allocations: 0 / 0.5619 GB, free: 4.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3752, allocations: 0 / 0.5619 GB, free: 4.035 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.0006029/0.3758, allocations: 381.3 kB / 0.5622 GB, free: 3.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3759, allocations: 8.031 kB / 0.5622 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.3759, allocations: 12.84 kB / 0.5622 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.3762, allocations: 162.8 kB / 0.5624 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3762, allocations: 4.375 kB / 0.5624 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3762, allocations: 16.06 kB / 0.5624 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3764, allocations: 61.66 kB / 0.5625 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3764, allocations: 0 / 0.5625 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3764, allocations: 4 kB / 0.5625 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3764, allocations: 0 / 0.5625 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/0.3765, allocations: 19.98 kB / 0.5625 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.3769, allocations: 275.8 kB / 0.5628 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.3772, allocations: 62.48 kB / 0.5628 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.3772, allocations: 20.98 kB / 0.5628 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3772, allocations: 4 kB / 0.5628 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.3774, allocations: 71.38 kB / 0.5629 GB, free: 2.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3774, allocations: 0 / 0.5629 GB, free: 2.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007461/0.3781, allocations: 233.2 kB / 0.5631 GB, free: 2.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.3782, allocations: 63.28 kB / 0.5632 GB, free: 2.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.3784, allocations: 231.4 kB / 0.5634 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.3785, allocations: 29.7 kB / 0.5634 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.3785, allocations: 108.1 kB / 0.5636 GB, free: 2.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.3786, allocations: 35.8 kB / 0.5636 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.3786, allocations: 25.72 kB / 0.5636 GB, free: 2.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3788, allocations: 330.8 kB / 0.5639 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-05/0.3788, allocations: 24 kB / 0.5639 GB, free: 1.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.625e-05/0.3789, allocations: 53.69 kB / 0.564 GB, free: 1.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3791, allocations: 73.77 kB / 0.5641 GB, free: 1.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3791, allocations: 3.938 kB / 0.5641 GB, free: 1.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002344/0.3793, allocations: 129.5 kB / 0.5642 GB, free: 1.434 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3793, allocations: 8 kB / 0.5642 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3793, allocations: 0 / 0.5642 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3793, allocations: 0 / 0.5642 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.3794, allocations: 27.92 kB / 0.5642 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3794, allocations: 8.672 kB / 0.5642 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.3795, allocations: 0 / 0.5642 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3795, allocations: 4 kB / 0.5642 GB, free: 1.387 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.0001252/0.3796, allocations: 133.8 kB / 0.5644 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.3796, allocations: 19.91 kB / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.3799, allocations: 150.9 kB / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3799, allocations: 4 kB / 0.5645 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.38, allocations: 3.938 kB / 0.5645 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.38, allocations: 7.984 kB / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.3805, allocations: 419.1 kB / 0.5649 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3805, allocations: 8 kB / 0.565 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.3806, allocations: 12 kB / 0.565 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3806, allocations: 0 / 0.565 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3806, allocations: 4 kB / 0.565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3806, allocations: 7.984 kB / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3806, allocations: 64 / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.3809, allocations: 233 kB / 0.5652 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.3809, allocations: 15.91 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.3809, allocations: 7.984 kB / 0.5652 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.381, allocations: 4.094 kB / 0.5652 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.381, allocations: 19.86 kB / 0.5652 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.381, allocations: 4 kB / 0.5653 GB, free: 260 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.3812, allocations: 169.1 kB / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3812, allocations: 0 / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3815, allocations: 31.92 kB / 0.5654 GB, free: 60 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.001943/0.3834, allocations: 0.5081 MB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.3836, allocations: 83.78 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3836, allocations: 4.062 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.3837, allocations: 27.98 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3841, allocations: 43.59 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.3846, allocations: 294.5 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.385, allocations: 0.7159 MB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.385, allocations: 23.42 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.385, allocations: 0 / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of Templates: time 0.004484/0.3895, allocations: 2.249 MB / 0.5693 GB, free: 12.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.968193328008056]