Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.00135/0.00135, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001414/0.001414, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.573/1.573, allocations: 230.6 MB / 258.3 MB, free: 7.965 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.2343/0.2343, allocations: 44.92 MB / 359.6 MB, free: 6.266 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [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.003002/0.003002, allocations: 67.89 kB / 0.4944 GB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3512, allocations: 65.47 MB / 0.5583 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003439/0.3547, allocations: 1.74 MB / 0.56 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.3565, allocations: 1.045 MB / 0.561 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.3566, allocations: 3.938 kB / 0.561 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.3569, allocations: 59.75 kB / 0.5611 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.3572, allocations: 99.59 kB / 0.5612 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.3574, allocations: 87.59 kB / 0.5613 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.3576, allocations: 103.7 kB / 0.5614 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.3577, allocations: 4 kB / 0.5614 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.3578, allocations: 47.78 kB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.468e-05/0.3579, allocations: 35.78 kB / 0.5615 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3579, allocations: 4 kB / 0.5615 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.482e-05/0.358, allocations: 43.98 kB / 0.5615 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.3581, allocations: 31.84 kB / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.3581, allocations: 47.61 kB / 0.5616 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.3584, allocations: 141.8 kB / 0.5617 GB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3584, allocations: 3.938 kB / 0.5617 GB, free: 4.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3584, allocations: 0 / 0.5617 GB, free: 4.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.361e-06/0.3584, allocations: 0 / 0.5617 GB, free: 4.184 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.0005751/0.359, allocations: 373.2 kB / 0.5621 GB, free: 3.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.359, allocations: 12.03 kB / 0.5621 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.3591, allocations: 16.84 kB / 0.5621 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.3593, allocations: 163.3 kB / 0.5623 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3593, allocations: 8.312 kB / 0.5623 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.3594, allocations: 4.125 kB / 0.5623 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3595, allocations: 53.67 kB / 0.5623 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3595, allocations: 0 / 0.5623 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.3595, allocations: 0 / 0.5623 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3595, allocations: 4 kB / 0.5623 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.3596, allocations: 19.98 kB / 0.5623 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.36, allocations: 279.8 kB / 0.5626 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3602, allocations: 50.62 kB / 0.5627 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.3602, allocations: 24.84 kB / 0.5627 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.3602, allocations: 4 kB / 0.5627 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.3604, allocations: 67.39 kB / 0.5627 GB, free: 2.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3604, allocations: 0 / 0.5627 GB, free: 2.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005508/0.3609, allocations: 185.3 kB / 0.5629 GB, free: 2.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.361, allocations: 51.41 kB / 0.563 GB, free: 2.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.3613, allocations: 275.8 kB / 0.5632 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3613, allocations: 29.7 kB / 0.5633 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.3614, allocations: 116.1 kB / 0.5634 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.3614, allocations: 31.78 kB / 0.5634 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.3615, allocations: 17.72 kB / 0.5634 GB, free: 2.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3616, allocations: 334.8 kB / 0.5637 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.3617, allocations: 23.92 kB / 0.5638 GB, free: 1.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.225e-05/0.3617, allocations: 37.7 kB / 0.5638 GB, free: 1.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.3619, allocations: 53.7 kB / 0.5639 GB, free: 1.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3619, allocations: 4 kB / 0.5639 GB, free: 1.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.3621, allocations: 113.5 kB / 0.564 GB, free: 1.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3621, allocations: 4 kB / 0.564 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3621, allocations: 4 kB / 0.564 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3621, allocations: 0 / 0.564 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.3622, allocations: 24.09 kB / 0.564 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3622, allocations: 0 / 0.564 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.3622, allocations: 11.88 kB / 0.564 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.3622, allocations: 4 kB / 0.564 GB, free: 1.629 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.0001184/0.3624, allocations: 141.8 kB / 0.5641 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.3624, allocations: 15.89 kB / 0.5642 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.3627, allocations: 119.2 kB / 0.5643 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3627, allocations: 4 kB / 0.5643 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3627, allocations: 0 / 0.5643 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3627, allocations: 3.938 kB / 0.5643 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.3631, allocations: 378.4 kB / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3631, allocations: 0 / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.3632, allocations: 11.94 kB / 0.5647 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3632, allocations: 0 / 0.5647 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3632, allocations: 7.938 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3632, allocations: 384 / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3632, allocations: 0 / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.3634, allocations: 208.3 kB / 0.5649 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.3635, allocations: 19.89 kB / 0.5649 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.3635, allocations: 7.938 kB / 0.5649 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.3636, allocations: 4 kB / 0.5649 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.3636, allocations: 7.984 kB / 0.5649 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3636, allocations: 0 / 0.5649 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.3638, allocations: 204.6 kB / 0.5651 GB, free: 432 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3638, allocations: 3.938 kB / 0.5651 GB, free: 428 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3641, allocations: 23.92 kB / 0.5651 GB, free: 404 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 (8): * Single equations (assignments): 6 * 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.001735/0.3658, allocations: 467.6 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.3661, allocations: 59.89 kB / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3661, allocations: 4 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.021e-05/0.3661, allocations: 28 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.3665, allocations: 25.59 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.3671, allocations: 325.3 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.3674, allocations: 0.7197 MB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.3674, allocations: 19.5 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3674, allocations: 0 / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Templates: time 0.004287/0.3717, allocations: 2.121 MB / 0.5688 GB, free: 12.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.956908130086958]