Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001653/0.001653, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001942/0.001942, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.423/1.423, allocations: 230.3 MB / 257.9 MB, free: 8.27 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.2473/0.2473, allocations: 46.89 MB / 361.3 MB, free: 4.445 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 79.86 kB / 0.4971 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3538, allocations: 66.03 MB / 0.5616 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003509/0.3574, allocations: 1.757 MB / 0.5633 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.3593, allocations: 1.057 MB / 0.5644 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.3594, allocations: 0 / 0.5644 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.3597, allocations: 91.69 kB / 0.5644 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.3601, allocations: 115.5 kB / 0.5646 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.3603, allocations: 87.66 kB / 0.5646 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.3605, allocations: 127.7 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3606, allocations: 11.98 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3608, allocations: 59.77 kB / 0.5648 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3609, allocations: 79.67 kB / 0.5649 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.3609, allocations: 4 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.361, allocations: 55.97 kB / 0.565 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.3611, allocations: 27.92 kB / 0.565 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.3612, allocations: 39.67 kB / 0.565 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.3615, allocations: 149.9 kB / 0.5652 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3615, allocations: 0 / 0.5652 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3615, allocations: 4 kB / 0.5652 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3615, allocations: 0 / 0.5652 GB, free: 0.9023 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.0006352/0.3621, allocations: 377.3 kB / 0.5655 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3621, allocations: 8.031 kB / 0.5655 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.3622, allocations: 16.84 kB / 0.5656 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.3625, allocations: 155.1 kB / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3625, allocations: 4.375 kB / 0.5657 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.3626, allocations: 8.312 kB / 0.5657 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3627, allocations: 61.98 kB / 0.5658 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.3628, allocations: 7.984 kB / 0.5658 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3628, allocations: 4 kB / 0.5658 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3628, allocations: 0 / 0.5658 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.325e-05/0.3629, allocations: 23.92 kB / 0.5658 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.3633, allocations: 279.8 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.3636, allocations: 62.55 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.3636, allocations: 24.92 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3637, allocations: 0 / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.3638, allocations: 79.42 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 3.096e-06/0.3638, allocations: 3.984 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007854/0.3646, allocations: 229.3 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.3647, allocations: 63.41 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.3649, allocations: 234.9 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3649, allocations: 33.69 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.365, allocations: 108.1 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.3651, allocations: 35.73 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.3651, allocations: 25.7 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3653, allocations: 330.8 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.353e-05/0.3653, allocations: 31.98 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.577e-05/0.3654, allocations: 49.64 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.3656, allocations: 77.64 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3656, allocations: 4 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002472/0.3658, allocations: 129.5 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3658, allocations: 4 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3658, allocations: 0 / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3659, allocations: 8.031 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.3659, allocations: 19.98 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3659, allocations: 0 / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.366, allocations: 11.94 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.366, allocations: 4 kB / 0.5676 GB, free: 14.23 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 (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.0001323/0.3661, allocations: 137.2 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.3662, allocations: 15.91 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.3665, allocations: 151.1 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3665, allocations: 4 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3665, allocations: 0 / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.3665, allocations: 7.938 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.3671, allocations: 415.2 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3671, allocations: 4 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.3671, allocations: 19.92 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3671, allocations: 3.938 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3672, allocations: 4.156 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3672, allocations: 11.94 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3672, allocations: 0 / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.3675, allocations: 229.1 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.3675, allocations: 23.84 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.3675, allocations: 0 / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.3676, allocations: 8 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.3677, allocations: 15.92 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3677, allocations: 7.984 kB / 0.5686 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.3679, allocations: 167.2 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3679, allocations: 0 / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.3681, allocations: 35.92 kB / 0.5688 GB, free: 12.9 MB / 414.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.00192/0.37, allocations: 0.4946 MB / 0.5693 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.3703, allocations: 75.91 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3703, allocations: 0 / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.541e-05/0.3704, allocations: 43.86 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.3708, allocations: 39.44 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.3714, allocations: 288.5 kB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.3718, allocations: 0.7158 MB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.74e-05/0.3719, allocations: 24.62 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.3719, allocations: 23.42 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3719, allocations: 0 / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.005899/0.3778, allocations: 2.046 MB / 0.5724 GB, free: 9.297 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.14584319666028]