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.001342/0.001342, allocations: 113.1 kB / 21.85 MB, free: 64 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.001761/0.001761, allocations: 204.2 kB / 25.13 MB, free: 3.578 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.414/1.414, allocations: 230.4 MB / 258.7 MB, free: 8.059 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.2152/0.2152, allocations: 46.94 MB / 362 MB, free: 4.254 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.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.003151/0.003151, allocations: 79.86 kB / 0.4978 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2947, allocations: 66.08 MB / 0.5623 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002939/0.2977, allocations: 1.632 MB / 0.5639 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000968/0.2986, allocations: 0.5615 MB / 0.5645 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.2987, allocations: 0 / 0.5645 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.2989, allocations: 79.7 kB / 0.5646 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.2992, allocations: 95.66 kB / 0.5647 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.2995, allocations: 99.62 kB / 0.5648 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.2996, allocations: 87.75 kB / 0.5648 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.2997, allocations: 19.64 kB / 0.5649 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/0.2998, allocations: 35.89 kB / 0.5649 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.2999, allocations: 55.77 kB / 0.5649 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2999, allocations: 8 kB / 0.565 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3, allocations: 51.91 kB / 0.565 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.3, allocations: 19.92 kB / 0.565 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.3001, allocations: 31.75 kB / 0.565 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3003, allocations: 106.3 kB / 0.5652 GB, free: 1.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3003, allocations: 0 / 0.5652 GB, free: 1.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3003, allocations: 0 / 0.5652 GB, free: 1.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3003, allocations: 0 / 0.5652 GB, free: 1.398 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.0004638/0.3007, allocations: 341.6 kB / 0.5655 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3008, allocations: 16.03 kB / 0.5655 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.3008, allocations: 12.84 kB / 0.5655 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.301, allocations: 147 kB / 0.5656 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.301, allocations: 4.375 kB / 0.5656 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.301, allocations: 4.375 kB / 0.5657 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3011, allocations: 54.17 kB / 0.5657 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3012, allocations: 4.172 kB / 0.5657 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3012, allocations: 7.938 kB / 0.5657 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3012, allocations: 4 kB / 0.5657 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.3013, allocations: 27.97 kB / 0.5657 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.3016, allocations: 267.8 kB / 0.566 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3017, allocations: 42.56 kB / 0.566 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.3018, allocations: 8.859 kB / 0.5661 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3018, allocations: 8.062 kB / 0.5661 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3018, allocations: 42.64 kB / 0.5661 GB, free: 304 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3018, allocations: 0 / 0.5661 GB, free: 304 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008062/0.3027, allocations: 217.2 kB / 0.5663 GB, free: 80 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.3027, allocations: 51.41 kB / 0.5664 GB, free: 16 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.3029, allocations: 222.4 kB / 0.5666 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.303, allocations: 25.7 kB / 0.5666 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.303, allocations: 112 kB / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.3031, allocations: 31.73 kB / 0.5667 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.3031, allocations: 21.72 kB / 0.5667 GB, free: 15.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3032, allocations: 326.8 kB / 0.5671 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.013e-05/0.3033, allocations: 23.98 kB / 0.5671 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.3034, allocations: 27.98 kB / 0.5671 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3035, allocations: 68.95 kB / 0.5672 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3035, allocations: 0 / 0.5672 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002084/0.3038, allocations: 101.5 kB / 0.5673 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3038, allocations: 7.938 kB / 0.5673 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3038, allocations: 0 / 0.5673 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3038, allocations: 0 / 0.5673 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.3039, allocations: 23.98 kB / 0.5673 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3039, allocations: 0 / 0.5673 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.3039, allocations: 8 kB / 0.5673 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.3039, allocations: 3.984 kB / 0.5673 GB, free: 14.99 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 9.529e-05/0.304, allocations: 125.8 kB / 0.5674 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.3041, allocations: 15.91 kB / 0.5675 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.3044, allocations: 127 kB / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3044, allocations: 0 / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3044, allocations: 0 / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3044, allocations: 0 / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000524/0.3049, allocations: 378.3 kB / 0.5679 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3049, allocations: 0 / 0.5679 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.305, allocations: 23.98 kB / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.305, allocations: 0 / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.305, allocations: 7.969 kB / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.305, allocations: 3.938 kB / 0.568 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.305, allocations: 4 kB / 0.568 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.3052, allocations: 200.7 kB / 0.5682 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.3053, allocations: 7.906 kB / 0.5682 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.3053, allocations: 19.92 kB / 0.5682 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.3054, allocations: 4 kB / 0.5682 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.3054, allocations: 11.95 kB / 0.5682 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3054, allocations: 4 kB / 0.5682 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.3056, allocations: 168.2 kB / 0.5684 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3056, allocations: 0 / 0.5684 GB, free: 13.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000242/0.3058, allocations: 16 kB / 0.5684 GB, free: 13.8 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.00162/0.3074, allocations: 454.5 kB / 0.5688 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.3076, allocations: 67.88 kB / 0.5689 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3076, allocations: 0 / 0.5689 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.3077, allocations: 35.92 kB / 0.5689 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3081, allocations: 22.66 kB / 0.5689 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.3086, allocations: 258.7 kB / 0.5692 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.3089, allocations: 0.7041 MB / 0.5699 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.149e-05/0.3089, allocations: 12.72 kB / 0.5699 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.309, allocations: 15.44 kB / 0.5699 GB, free: 12.35 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.309, allocations: 0 / 0.5699 GB, free: 12.35 MB / 414.1 MB Notification: Performance of Templates: time 0.004314/0.3133, allocations: 1.41 MB / 0.5713 GB, free: 10.95 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/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: 4.786403741920367]