Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001302/0.001302, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.00144/0.00144, allocations: 212.3 kB / 25.13 MB, free: 3.586 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.453/1.453, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2323/0.2323, allocations: 46.94 MB / 362 MB, free: 4.223 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31") [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.002278/0.002278, allocations: 83.8 kB / 0.4978 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3165, allocations: 66.08 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003265/0.3198, allocations: 1.636 MB / 0.5639 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3208, allocations: 0.5655 MB / 0.5645 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.3209, allocations: 3.938 kB / 0.5645 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.3212, allocations: 119.7 kB / 0.5646 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.3215, allocations: 131.5 kB / 0.5647 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.3218, allocations: 115.7 kB / 0.5649 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.322, allocations: 103.7 kB / 0.565 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3221, allocations: 19.64 kB / 0.565 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.3221, allocations: 51.83 kB / 0.565 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.3223, allocations: 91.75 kB / 0.5651 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3223, allocations: 4 kB / 0.5651 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.165e-05/0.3224, allocations: 43.94 kB / 0.5652 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.3225, allocations: 31.89 kB / 0.5652 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.3225, allocations: 39.69 kB / 0.5652 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.3227, allocations: 122.3 kB / 0.5653 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3227, allocations: 0 / 0.5653 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3227, allocations: 4 kB / 0.5653 GB, free: 1.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3227, allocations: 0 / 0.5653 GB, free: 1.188 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.0005077/0.3232, allocations: 365.3 kB / 0.5657 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3233, allocations: 12.03 kB / 0.5657 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.3233, allocations: 12.84 kB / 0.5657 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.3235, allocations: 166.4 kB / 0.5659 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3235, allocations: 4.375 kB / 0.5659 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.3235, allocations: 8.375 kB / 0.5659 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3237, allocations: 50.23 kB / 0.5659 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3237, allocations: 8.172 kB / 0.5659 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3237, allocations: 3.938 kB / 0.5659 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3237, allocations: 0 / 0.5659 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.3238, allocations: 35.91 kB / 0.566 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.3242, allocations: 283.9 kB / 0.5662 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.3243, allocations: 38.56 kB / 0.5663 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.3244, allocations: 24.88 kB / 0.5663 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3244, allocations: 0 / 0.5663 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3244, allocations: 30.56 kB / 0.5663 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3244, allocations: 0 / 0.5663 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008921/0.3253, allocations: 253.1 kB / 0.5666 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3254, allocations: 51.41 kB / 0.5666 GB, free: 15.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.3257, allocations: 271.8 kB / 0.5669 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3257, allocations: 25.7 kB / 0.5669 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.3258, allocations: 124.1 kB / 0.567 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.3258, allocations: 31.73 kB / 0.5671 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.3259, allocations: 17.72 kB / 0.5671 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000281/0.3262, allocations: 334.8 kB / 0.5674 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.3262, allocations: 27.98 kB / 0.5674 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.447e-05/0.3263, allocations: 31.97 kB / 0.5675 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.3265, allocations: 80.83 kB / 0.5675 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3265, allocations: 0 / 0.5675 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002497/0.3267, allocations: 113.6 kB / 0.5676 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3268, allocations: 7.938 kB / 0.5676 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3268, allocations: 4.297 kB / 0.5677 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3268, allocations: 0 / 0.5677 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.791e-05/0.3269, allocations: 16 kB / 0.5677 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3269, allocations: 3.984 kB / 0.5677 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.3269, allocations: 12 kB / 0.5677 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3269, allocations: 3.984 kB / 0.5677 GB, free: 14.59 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.0001223/0.3271, allocations: 143 kB / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.3271, allocations: 15.91 kB / 0.5678 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.3274, allocations: 131 kB / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3274, allocations: 0 / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3274, allocations: 4 kB / 0.568 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3274, allocations: 0 / 0.568 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.328, allocations: 406.3 kB / 0.5684 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.328, allocations: 3.984 kB / 0.5684 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.3281, allocations: 15.94 kB / 0.5684 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3281, allocations: 4 kB / 0.5684 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3281, allocations: 11.92 kB / 0.5684 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3281, allocations: 0 / 0.5684 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3281, allocations: 4 kB / 0.5684 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.3284, allocations: 216.7 kB / 0.5686 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.3284, allocations: 11.91 kB / 0.5686 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3284, allocations: 3.938 kB / 0.5686 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.3285, allocations: 7.984 kB / 0.5686 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.3285, allocations: 19.97 kB / 0.5686 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3285, allocations: 4 kB / 0.5686 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.3287, allocations: 212 kB / 0.5688 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3287, allocations: 0 / 0.5688 GB, free: 13.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.329, allocations: 27.92 kB / 0.5689 GB, free: 13.28 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.001631/0.3306, allocations: 443.5 kB / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.3309, allocations: 71.94 kB / 0.5694 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3309, allocations: 4 kB / 0.5694 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.369e-05/0.3309, allocations: 35.92 kB / 0.5694 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.3313, allocations: 26.83 kB / 0.5694 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/0.3319, allocations: 332.3 kB / 0.5697 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.3323, allocations: 0.7158 MB / 0.5704 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.095e-05/0.3323, allocations: 24.59 kB / 0.5705 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.3324, allocations: 19.42 kB / 0.5705 GB, free: 11.73 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3324, allocations: 0 / 0.5705 GB, free: 11.73 MB / 414.1 MB Notification: Performance of Templates: time 0.004353/0.3367, allocations: 1.478 MB / 0.5719 GB, free: 10.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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: 4.943161891074851]