Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.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.009986/0.009986, allocations: 107.4 kB / 21.98 MB, free: 5.223 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.002362/0.002362, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.478/1.478, allocations: 230.5 MB / 258.9 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2325/0.2325, allocations: 46.94 MB / 362.3 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 79.86 kB / 0.4982 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.366, allocations: 66.07 MB / 0.5627 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003213/0.3692, allocations: 1.687 MB / 0.5644 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3703, allocations: 0.5694 MB / 0.565 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.3704, allocations: 7.938 kB / 0.565 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.3707, allocations: 87.75 kB / 0.565 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.3709, allocations: 119.6 kB / 0.5652 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.3713, allocations: 115.7 kB / 0.5653 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.3715, allocations: 103.7 kB / 0.5654 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3716, allocations: 22.66 kB / 0.5654 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.3717, allocations: 51.77 kB / 0.5654 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3718, allocations: 67.8 kB / 0.5655 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3718, allocations: 4 kB / 0.5655 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.68e-05/0.3719, allocations: 47.98 kB / 0.5656 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.3719, allocations: 27.86 kB / 0.5656 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.372, allocations: 51.61 kB / 0.5656 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3722, allocations: 131.1 kB / 0.5658 GB, free: 1.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3722, allocations: 0 / 0.5658 GB, free: 1.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3722, allocations: 0 / 0.5658 GB, free: 1.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3722, allocations: 0 / 0.5658 GB, free: 1.156 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005407/0.3728, allocations: 361.5 kB / 0.5661 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3728, allocations: 12.03 kB / 0.5661 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.3729, allocations: 16.84 kB / 0.5661 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3731, allocations: 162.2 kB / 0.5663 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3731, allocations: 8.375 kB / 0.5663 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.3731, allocations: 4.375 kB / 0.5663 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.3733, allocations: 70.22 kB / 0.5664 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3733, allocations: 4.141 kB / 0.5664 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3733, allocations: 11.94 kB / 0.5664 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.3733, allocations: 0 / 0.5664 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.3735, allocations: 39.97 kB / 0.5664 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.374, allocations: 315.8 kB / 0.5667 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.3741, allocations: 62.55 kB / 0.5668 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/0.3742, allocations: 21 kB / 0.5668 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.3742, allocations: 11.92 kB / 0.5668 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.3743, allocations: 38.56 kB / 0.5668 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3743, allocations: 0 / 0.5668 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00109/0.3753, allocations: 328.9 kB / 0.5672 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.3754, allocations: 63.28 kB / 0.5672 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.3756, allocations: 239.5 kB / 0.5674 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3757, allocations: 25.7 kB / 0.5675 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.3757, allocations: 116 kB / 0.5676 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.3758, allocations: 51.62 kB / 0.5676 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.3758, allocations: 29.7 kB / 0.5677 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.376, allocations: 322.8 kB / 0.568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.3761, allocations: 43.97 kB / 0.568 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.3762, allocations: 47.97 kB / 0.5681 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.3764, allocations: 116.7 kB / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3764, allocations: 0 / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000284/0.3767, allocations: 153.5 kB / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3767, allocations: 6.188 kB / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3767, allocations: 0 / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3767, allocations: 3.938 kB / 0.5683 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3769, allocations: 35.92 kB / 0.5684 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3769, allocations: 7.938 kB / 0.5684 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.3769, allocations: 7.984 kB / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.3769, allocations: 4 kB / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001183/0.377, allocations: 137.8 kB / 0.5685 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.3771, allocations: 15.91 kB / 0.5685 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003957/0.3775, allocations: 190.5 kB / 0.5687 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.3775, allocations: 7.938 kB / 0.5687 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3775, allocations: 3.938 kB / 0.5687 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3775, allocations: 0 / 0.5687 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.3782, allocations: 474.2 kB / 0.5692 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3782, allocations: 0 / 0.5692 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.203e-05/0.3783, allocations: 23.98 kB / 0.5692 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3783, allocations: 8.031 kB / 0.5692 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3783, allocations: 0 / 0.5692 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3783, allocations: 0 / 0.5692 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3783, allocations: 4 kB / 0.5692 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.3786, allocations: 260.1 kB / 0.5694 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.3786, allocations: 15.89 kB / 0.5695 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.3787, allocations: 12 kB / 0.5695 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.3787, allocations: 7.984 kB / 0.5695 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.3788, allocations: 11.98 kB / 0.5695 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.3788, allocations: 4 kB / 0.5695 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.3789, allocations: 181.1 kB / 0.5697 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3789, allocations: 0 / 0.5697 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.3792, allocations: 31.94 kB / 0.5697 GB, free: 12.83 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.00169/0.3809, allocations: 454.9 kB / 0.5701 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.3812, allocations: 99.94 kB / 0.5702 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3812, allocations: 0 / 0.5702 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3813, allocations: 67.89 kB / 0.5703 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3817, allocations: 26.34 kB / 0.5703 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000647/0.3823, allocations: 361.3 kB / 0.5707 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.3827, allocations: 0.7236 MB / 0.5714 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.3827, allocations: 19.44 kB / 0.5714 GB, free: 11.19 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3827, allocations: 0 / 0.5714 GB, free: 11.19 MB / 414.1 MB Notification: Performance of Templates: time 0.004416/0.3872, allocations: 2.166 MB / 0.5735 GB, free: 9.023 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.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.796824647812173]