Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2431/0.2431, allocations: 46.95 MB / 361.5 MB, free: 3.961 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 79.81 kB / 0.4974 GB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3629, allocations: 66.09 MB / 0.562 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003404/0.3663, allocations: 1.704 MB / 0.5636 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.3691, allocations: 1.664 MB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/0.3692, allocations: 0 / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.3694, allocations: 43.77 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.3698, allocations: 99.55 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.37, allocations: 79.67 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3702, allocations: 111.7 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3703, allocations: 4 kB / 0.5656 GB, free: 256 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.843e-05/0.3704, allocations: 43.78 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3705, allocations: 54.95 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.3705, allocations: 4 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.3707, allocations: 103.9 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.3708, allocations: 19.92 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.3708, allocations: 23.86 kB / 0.5658 GB, free: 8 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.3712, allocations: 169.8 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3712, allocations: 7.984 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3712, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.3712, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.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.0006561/0.3719, allocations: 353.5 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3719, allocations: 12.03 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.372, allocations: 12.84 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.3723, allocations: 146.3 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3723, allocations: 8.359 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.3723, allocations: 4.125 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.3725, allocations: 109 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3725, allocations: 0 / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3725, allocations: 4 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3725, allocations: 0 / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.385e-05/0.3726, allocations: 19.98 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.373, allocations: 228.5 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.3732, allocations: 66.61 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.285e-05/0.3733, allocations: 20.84 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3733, allocations: 0 / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.3734, allocations: 71.39 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3734, allocations: 3.938 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006186/0.3741, allocations: 185.3 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.3741, allocations: 77.11 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.3743, allocations: 162.5 kB / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.3744, allocations: 33.7 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.3744, allocations: 96.12 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.3745, allocations: 27.75 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.3745, allocations: 29.64 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3747, allocations: 326.8 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.3e-05/0.3748, allocations: 31.92 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.712e-05/0.3749, allocations: 68.27 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.375, allocations: 57.7 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.375, allocations: 0 / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002123/0.3752, allocations: 109.6 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3752, allocations: 4 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3752, allocations: 0 / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3752, allocations: 0 / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.3753, allocations: 24.05 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3753, allocations: 0 / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.3754, allocations: 8 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3754, allocations: 3.938 kB / 0.5682 GB, free: 13.37 MB / 414.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.0001112/0.3755, allocations: 127.1 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.3755, allocations: 7.953 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.3758, allocations: 118.3 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3758, allocations: 0 / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3758, allocations: 4 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3758, allocations: 0 / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.3763, allocations: 354.9 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3763, allocations: 0 / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.3763, allocations: 8 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3763, allocations: 4.641 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3764, allocations: 4 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3764, allocations: 4 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3764, allocations: 7.875 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3766, allocations: 216.1 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.3767, allocations: 19.89 kB / 0.569 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.3767, allocations: 4.031 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.698e-05/0.3768, allocations: 4 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.3768, allocations: 15.92 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.3768, allocations: 0 / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.3769, allocations: 131.9 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3769, allocations: 0 / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.3772, allocations: 51.8 kB / 0.5692 GB, free: 12.23 MB / 414.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.002142/0.3794, allocations: 0.5665 MB / 0.5698 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.3796, allocations: 59.91 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3796, allocations: 7.938 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.3797, allocations: 27.98 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.3801, allocations: 27.97 kB / 0.5699 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.3806, allocations: 240.5 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.472e-05/0.3807, allocations: 89.31 kB / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.3807, allocations: 27.36 kB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3807, allocations: 0 / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.004975/0.3857, allocations: 2.438 MB / 0.5726 GB, free: 8.906 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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: 8.085825721733272]