Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 209 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2373/0.2373, allocations: 46.97 MB / 361.6 MB, free: 4.027 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.89 kB / 0.4973 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4233, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003588/0.4269, allocations: 1.593 MB / 0.5634 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.428, allocations: 0.5115 MB / 0.5639 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.4281, allocations: 0 / 0.5639 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.4284, allocations: 31.73 kB / 0.5639 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.4287, allocations: 79.69 kB / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.429, allocations: 95.31 kB / 0.5641 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.4292, allocations: 67.77 kB / 0.5641 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.4293, allocations: 8 kB / 0.5642 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.4294, allocations: 27.86 kB / 0.5642 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.4294, allocations: 19.86 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.4294, allocations: 4 kB / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.174e-05/0.4295, allocations: 39.97 kB / 0.5642 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.4296, allocations: 11.94 kB / 0.5643 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.4296, allocations: 23.8 kB / 0.5643 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.4298, allocations: 86.05 kB / 0.5644 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4298, allocations: 0 / 0.5644 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4298, allocations: 0 / 0.5644 GB, free: 1.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.4298, allocations: 0 / 0.5644 GB, free: 1.559 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005077/0.4303, allocations: 317.8 kB / 0.5647 GB, free: 1.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4304, allocations: 8.031 kB / 0.5647 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.4304, allocations: 8.891 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.4307, allocations: 134.4 kB / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4307, allocations: 4.359 kB / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.4307, allocations: 4.375 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.4309, allocations: 53.75 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.4309, allocations: 0 / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4309, allocations: 4 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4309, allocations: 0 / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/0.431, allocations: 23.98 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.4314, allocations: 216.5 kB / 0.5651 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.4316, allocations: 50.5 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.4316, allocations: 16.94 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.4317, allocations: 0 / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4317, allocations: 34.56 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.4317, allocations: 0 / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000578/0.4323, allocations: 149.3 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.4323, allocations: 55.41 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.4325, allocations: 163.9 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.4325, allocations: 25.7 kB / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.4326, allocations: 96.14 kB / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.4326, allocations: 19.84 kB / 0.5657 GB, free: 56 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.4326, allocations: 17.72 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.4328, allocations: 326.8 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.809e-05/0.4329, allocations: 15.98 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.433, allocations: 15.98 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.4331, allocations: 60.89 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4331, allocations: 0 / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.4333, allocations: 81.62 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4333, allocations: 7.938 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4333, allocations: 4 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4333, allocations: 0 / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.4334, allocations: 11.98 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4334, allocations: 3.984 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.942e-05/0.4334, allocations: 4 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4334, allocations: 7.938 kB / 0.5662 GB, free: 15.48 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 9.988e-05/0.4335, allocations: 129.8 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.4336, allocations: 7.953 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.4338, allocations: 90 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4338, allocations: 0 / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4338, allocations: 0 / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4338, allocations: 0 / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.4342, allocations: 290.4 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4342, allocations: 4 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.4343, allocations: 15.98 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4343, allocations: 0 / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.4343, allocations: 4 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4343, allocations: 0 / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.4343, allocations: 11.92 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.4346, allocations: 179.7 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.4346, allocations: 7.953 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.4346, allocations: 0 / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.4347, allocations: 7.984 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.4347, allocations: 7.938 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.4347, allocations: 0 / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.4349, allocations: 132.7 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4349, allocations: 0 / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.4351, allocations: 15.95 kB / 0.5671 GB, free: 14.52 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.00165/0.4368, allocations: 430.5 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.437, allocations: 43.95 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.437, allocations: 4 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.4371, allocations: 32.05 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.4374, allocations: 15.98 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.4379, allocations: 194.1 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.232e-05/0.438, allocations: 83.08 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.23e-05/0.4381, allocations: 15.77 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.4381, allocations: 11.44 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4381, allocations: 0 / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of Templates: time 0.004464/0.4426, allocations: 1.194 MB / 0.569 GB, free: 12.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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: 5.112392473005457]