Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001278/0.001278, allocations: 105 kB / 21.22 MB, free: 0.6758 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.001398/0.001398, allocations: 209.7 kB / 24.53 MB, free: 4.035 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.579/1.579, allocations: 230.3 MB / 258 MB, free: 8.219 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.2386/0.2386, allocations: 46.94 MB / 361.4 MB, free: 4.391 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34") [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.002373/0.002373, allocations: 75.88 kB / 0.4972 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3607, allocations: 66.04 MB / 0.5617 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003202/0.3639, allocations: 1.644 MB / 0.5633 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.365, allocations: 0.5538 MB / 0.5638 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.387e-05/0.365, allocations: 0 / 0.5638 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.3653, allocations: 79.77 kB / 0.5639 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.3657, allocations: 103.6 kB / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.366, allocations: 95.69 kB / 0.5641 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3662, allocations: 87.77 kB / 0.5642 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3663, allocations: 15.64 kB / 0.5642 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.713e-05/0.3663, allocations: 35.84 kB / 0.5642 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.3665, allocations: 63.73 kB / 0.5643 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.3665, allocations: 4 kB / 0.5643 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.3666, allocations: 47.98 kB / 0.5643 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.3667, allocations: 23.92 kB / 0.5643 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.3667, allocations: 35.73 kB / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.3669, allocations: 106.4 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3669, allocations: 4 kB / 0.5645 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3669, allocations: 0 / 0.5645 GB, free: 1.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3669, allocations: 0 / 0.5645 GB, free: 1.613 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005166/0.3674, allocations: 333.6 kB / 0.5648 GB, free: 1.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.3675, allocations: 8.031 kB / 0.5648 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.3675, allocations: 20.84 kB / 0.5648 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.3677, allocations: 143 kB / 0.565 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3677, allocations: 4.359 kB / 0.565 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.3677, allocations: 8.375 kB / 0.565 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3679, allocations: 62.16 kB / 0.565 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3679, allocations: 192 / 0.565 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3679, allocations: 3.938 kB / 0.565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3679, allocations: 0 / 0.565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.033e-05/0.368, allocations: 23.98 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.3685, allocations: 263.8 kB / 0.5653 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.3686, allocations: 50.5 kB / 0.5654 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.3686, allocations: 16.94 kB / 0.5654 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3687, allocations: 4 kB / 0.5654 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3687, allocations: 30.56 kB / 0.5654 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3687, allocations: 0 / 0.5654 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009295/0.3696, allocations: 221.3 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.3697, allocations: 51.48 kB / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.3699, allocations: 210.3 kB / 0.5659 GB, free: 32 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.37, allocations: 29.75 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.3701, allocations: 120 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.3701, allocations: 27.75 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.3701, allocations: 25.7 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3703, allocations: 326.8 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.3704, allocations: 27.98 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.3705, allocations: 23.92 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3706, allocations: 64.83 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3706, allocations: 3.938 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000205/0.3708, allocations: 105.8 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3708, allocations: 4 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3708, allocations: 4 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3709, allocations: 0 / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.371, allocations: 19.98 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.371, allocations: 4.062 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.098e-05/0.371, allocations: 7.938 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.371, allocations: 4 kB / 0.5666 GB, free: 15.21 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 (8): * Single equations (assignments): 8 * 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.0001108/0.3711, allocations: 133.8 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.3712, allocations: 11.91 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.3715, allocations: 119 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3715, allocations: 0 / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3715, allocations: 0 / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3715, allocations: 432 / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.372, allocations: 386.3 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.372, allocations: 0 / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.3721, allocations: 23.92 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3721, allocations: 0 / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3721, allocations: 3.938 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3721, allocations: 0 / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3721, allocations: 4 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.3724, allocations: 204.3 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.3724, allocations: 11.91 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3724, allocations: 7.938 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.3725, allocations: 7.984 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.3725, allocations: 7.922 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3725, allocations: 8 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.3727, allocations: 168.2 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3727, allocations: 0 / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.3729, allocations: 16 kB / 0.5677 GB, free: 14.03 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 (8): * Single equations (assignments): 8 * 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.001703/0.3746, allocations: 459.3 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.3749, allocations: 63.89 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3749, allocations: 0 / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.359e-05/0.3749, allocations: 27.98 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.3753, allocations: 20.3 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.3759, allocations: 270.6 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.3763, allocations: 0.708 MB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.838e-05/0.3763, allocations: 8.672 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.3764, allocations: 23.42 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3764, allocations: 0 / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of Templates: time 0.004845/0.3812, allocations: 1.396 MB / 0.5706 GB, free: 11.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.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.317422011867166]