Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001577/0.001577, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.00185/0.00185, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.529/1.529, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2164/0.2164, allocations: 46.89 MB / 361.1 MB, free: 4.637 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4") [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.002369/0.002369, allocations: 79.86 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3077, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002981/0.3107, allocations: 1.671 MB / 0.5629 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3118, allocations: 0.5965 MB / 0.5634 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.3118, allocations: 4 kB / 0.5634 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.3124, allocations: 451.2 kB / 0.5639 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004685/0.3129, allocations: 291.3 kB / 0.5641 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.3133, allocations: 186.9 kB / 0.5643 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.3136, allocations: 167.6 kB / 0.5645 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3137, allocations: 19.97 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.3138, allocations: 107.8 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.3141, allocations: 255.5 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.3141, allocations: 0 / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.916e-05/0.3142, allocations: 39.92 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.3143, allocations: 83.7 kB / 0.565 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.439e-05/0.3144, allocations: 103 kB / 0.5651 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.3148, allocations: 265.3 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3148, allocations: 0 / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3148, allocations: 0 / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.3148, allocations: 0 / 0.5653 GB, free: 0.7969 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.0008561/0.3156, allocations: 0.6528 MB / 0.566 GB, free: 92 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3157, allocations: 11.97 kB / 0.566 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.641e-05/0.3157, allocations: 52.61 kB / 0.566 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.3161, allocations: 300.8 kB / 0.5663 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3161, allocations: 4.375 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.3162, allocations: 4.375 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.3164, allocations: 54.23 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3164, allocations: 192 / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.3164, allocations: 7.938 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3164, allocations: 0 / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.3165, allocations: 27.97 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.3171, allocations: 408.5 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.3174, allocations: 42.55 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.3174, allocations: 20.94 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3174, allocations: 0 / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3175, allocations: 38.5 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3175, allocations: 4 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006666/0.3181, allocations: 236.7 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3182, allocations: 55.34 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008939/0.3191, allocations: 0.866 MB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3191, allocations: 25.7 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.3193, allocations: 228 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3193, allocations: 27.78 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.3194, allocations: 13.72 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3195, allocations: 370.7 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.362e-05/0.3196, allocations: 19.98 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.3197, allocations: 19.98 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.3198, allocations: 52.83 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3198, allocations: 7.938 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002371/0.3201, allocations: 129.6 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3201, allocations: 8 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3201, allocations: 0 / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3201, allocations: 0 / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/0.3202, allocations: 11.98 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.3202, allocations: 0 / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.3202, allocations: 4 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3202, allocations: 8 kB / 0.5689 GB, free: 12.89 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 (5): * Single equations (assignments): 5 * 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.0002052/0.3205, allocations: 217.7 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.3205, allocations: 39.72 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.3209, allocations: 153 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3209, allocations: 0 / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3209, allocations: 0 / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3209, allocations: 0 / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006399/0.3215, allocations: 474.4 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3215, allocations: 0 / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.3216, allocations: 11.98 kB / 0.5698 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3216, allocations: 0 / 0.5698 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3216, allocations: 4 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3216, allocations: 0 / 0.5698 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.3216, allocations: 7.875 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.3219, allocations: 223.2 kB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.322, allocations: 108.8 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.322, allocations: 0 / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.3221, allocations: 8.172 kB / 0.5701 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.3222, allocations: 7.938 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3222, allocations: 8 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006814/0.3228, allocations: 0.655 MB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3228, allocations: 4 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.3231, allocations: 23.94 kB / 0.5708 GB, free: 10.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001451/0.3246, allocations: 401.3 kB / 0.5712 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.3248, allocations: 59.89 kB / 0.5712 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3248, allocations: 0 / 0.5712 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.3249, allocations: 23.98 kB / 0.5712 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.3253, allocations: 32.53 kB / 0.5713 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.3264, allocations: 0.8181 MB / 0.5721 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.3269, allocations: 0.8299 MB / 0.5729 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.154e-05/0.327, allocations: 8.25 kB / 0.5729 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.327, allocations: 19.36 kB / 0.5729 GB, free: 8.773 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.327, allocations: 4 kB / 0.5729 GB, free: 8.77 MB / 414.1 MB Notification: Performance of Templates: time 0.005043/0.3321, allocations: 1.523 MB / 0.5744 GB, free: 7.246 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.007823924999684]