Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.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.009043/0.009043, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.002367/0.002367, allocations: 220.3 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.446/1.446, allocations: 230.5 MB / 258.9 MB, free: 7.996 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.2249/0.2249, allocations: 46.92 MB / 362.3 MB, free: 4.207 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7") [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.002407/0.002407, allocations: 79.86 kB / 0.4982 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3133, allocations: 66.08 MB / 0.5627 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003102/0.3164, allocations: 1.629 MB / 0.5643 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3175, allocations: 0.5761 MB / 0.5649 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.3176, allocations: 4 kB / 0.5649 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.3182, allocations: 451.1 kB / 0.5653 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004858/0.3187, allocations: 291.3 kB / 0.5656 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.3192, allocations: 171.2 kB / 0.5658 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.3194, allocations: 171.6 kB / 0.5659 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3195, allocations: 19.98 kB / 0.566 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.3197, allocations: 107.8 kB / 0.5661 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.3199, allocations: 239.5 kB / 0.5663 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.32, allocations: 4 kB / 0.5663 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.32, allocations: 31.92 kB / 0.5663 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.3201, allocations: 87.67 kB / 0.5664 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.597e-05/0.3202, allocations: 99 kB / 0.5665 GB, free: 408 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.3206, allocations: 249 kB / 0.5667 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3206, allocations: 4 kB / 0.5667 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3206, allocations: 3.938 kB / 0.5667 GB, free: 156 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3206, allocations: 0 / 0.5667 GB, free: 156 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007833/0.3214, allocations: 0.5699 MB / 0.5673 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3214, allocations: 11.97 kB / 0.5673 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.3215, allocations: 44.66 kB / 0.5674 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.3217, allocations: 238.8 kB / 0.5676 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3217, allocations: 4.375 kB / 0.5676 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.3218, allocations: 4.375 kB / 0.5676 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.3219, allocations: 55.22 kB / 0.5676 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3219, allocations: 192 / 0.5676 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3219, allocations: 7.922 kB / 0.5677 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3219, allocations: 0 / 0.5677 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.96e-05/0.322, allocations: 27.98 kB / 0.5677 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.3225, allocations: 363.8 kB / 0.568 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.326e-05/0.3226, allocations: 34.56 kB / 0.5681 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.3227, allocations: 20.91 kB / 0.5681 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3227, allocations: 0 / 0.5681 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.3227, allocations: 30.56 kB / 0.5681 GB, free: 14.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3227, allocations: 0 / 0.5681 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002796/0.323, allocations: 105.3 kB / 0.5682 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3231, allocations: 55.53 kB / 0.5683 GB, free: 14.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009383/0.324, allocations: 0.8699 MB / 0.5691 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.324, allocations: 29.7 kB / 0.5691 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.3242, allocations: 220 kB / 0.5694 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.3242, allocations: 11.89 kB / 0.5694 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.3243, allocations: 17.7 kB / 0.5694 GB, free: 13.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3244, allocations: 358.8 kB / 0.5697 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.737e-05/0.3245, allocations: 19.92 kB / 0.5697 GB, free: 12.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.515e-05/0.3245, allocations: 4 kB / 0.5697 GB, free: 12.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.712e-05/0.3246, allocations: 40.77 kB / 0.5698 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3246, allocations: 3.938 kB / 0.5698 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001661/0.3248, allocations: 89.41 kB / 0.5699 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3248, allocations: 4 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3248, allocations: 4 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3248, allocations: 4.094 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.3249, allocations: 7.984 kB / 0.5699 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3249, allocations: 0 / 0.5699 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.3249, allocations: 3.953 kB / 0.5699 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.3249, allocations: 4 kB / 0.5699 GB, free: 12.73 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 (2): * Single equations (assignments): 2 * 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.0002028/0.3251, allocations: 213.7 kB / 0.5701 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.3252, allocations: 39.72 kB / 0.5701 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.3254, allocations: 112.8 kB / 0.5702 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3254, allocations: 4 kB / 0.5703 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3254, allocations: 0 / 0.5703 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3254, allocations: 0 / 0.5703 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.3257, allocations: 260.6 kB / 0.5705 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3257, allocations: 0 / 0.5705 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.3258, allocations: 7.984 kB / 0.5705 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3258, allocations: 0 / 0.5705 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.3258, allocations: 0 / 0.5705 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3258, allocations: 0 / 0.5705 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3258, allocations: 0 / 0.5705 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.326, allocations: 199.2 kB / 0.5707 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.3261, allocations: 35.72 kB / 0.5707 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.3261, allocations: 4 kB / 0.5707 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.3262, allocations: 0 / 0.5707 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.3262, allocations: 7.984 kB / 0.5707 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3262, allocations: 4 kB / 0.5707 GB, free: 11.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006691/0.3268, allocations: 0.6551 MB / 0.5714 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3268, allocations: 0 / 0.5714 GB, free: 11.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.3271, allocations: 16 kB / 0.5714 GB, free: 11.11 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 (2): * Single equations (assignments): 2 * 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.001256/0.3283, allocations: 351.1 kB / 0.5717 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.3285, allocations: 23.98 kB / 0.5718 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3285, allocations: 0 / 0.5718 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.453e-05/0.3285, allocations: 11.98 kB / 0.5718 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.3289, allocations: 38.11 kB / 0.5718 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.3301, allocations: 0.8237 MB / 0.5726 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.3306, allocations: 0.8221 MB / 0.5734 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.3307, allocations: 11.44 kB / 0.5734 GB, free: 9.082 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3307, allocations: 0 / 0.5734 GB, free: 9.082 MB / 414.1 MB Notification: Performance of Templates: time 0.006874/0.3375, allocations: 3.517 MB / 0.5769 GB, free: 5.559 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.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.665313757024705]