Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001022/0.001022, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001068/0.001068, allocations: 159.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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.019/1.019, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2937/0.2937, allocations: 34.86 MB / 296.6 MB, free: 492 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.296e-05, allocations: 5.125 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.001945/0.001958, allocations: 1.651 MB / 327.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006632/0.002621, allocations: 0.5446 MB / 328.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.002663, allocations: 0 / 328.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006681/0.003331, allocations: 451 kB / 328.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.003679, allocations: 295.2 kB / 328.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.003912, allocations: 131.6 kB / 329 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.00408, allocations: 164.4 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.734e-05/0.004147, allocations: 15.97 kB / 329.2 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.986e-05/0.004247, allocations: 115.8 kB / 329.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.004394, allocations: 203.6 kB / 329.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.004408, allocations: 4 kB / 329.5 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.328e-05/0.004462, allocations: 27.92 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.421e-05/0.004536, allocations: 79.72 kB / 329.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.004565, allocations: 35.73 kB / 329.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.004734, allocations: 195.1 kB / 329.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004735, allocations: 0 / 329.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004736, allocations: 0 / 329.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.004739, allocations: 0 / 329.8 MB, free: 3.273 MB / 298.7 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.0004072/0.005146, allocations: 0.5463 MB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.005174, allocations: 12.03 kB / 330.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.005206, allocations: 28.91 kB / 330.4 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.005359, allocations: 246 kB / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-06/0.005365, allocations: 384 / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-06/0.005372, allocations: 384 / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.069e-05/0.005453, allocations: 58.89 kB / 330.7 MB, free: 2.324 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-06/0.005457, allocations: 4.188 kB / 330.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.005464, allocations: 384 / 330.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.005467, allocations: 384 / 330.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.633e-05/0.005483, allocations: 11.92 kB / 330.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.005649, allocations: 152.3 kB / 330.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.56e-05/0.005694, allocations: 26.58 kB / 330.9 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.005709, allocations: 16.88 kB / 330.9 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.005723, allocations: 3.984 kB / 330.9 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.00574, allocations: 34.62 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.005741, allocations: 0 / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.000103/0.005844, allocations: 61.61 kB / 331 MB, free: 1.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.005867, allocations: 51.41 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.006162, allocations: 0.5283 MB / 331.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.006172, allocations: 29.7 kB / 331.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.006224, allocations: 137.3 kB / 331.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.006241, allocations: 19.89 kB / 331.8 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.006262, allocations: 9.719 kB / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.006347, allocations: 358.7 kB / 332.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.238e-06/0.006356, allocations: 11.86 kB / 332.1 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-06/0.006364, allocations: 4 kB / 332.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.372e-05/0.006388, allocations: 16.84 kB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.006389, allocations: 0 / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.145e-05/0.00644, allocations: 57.67 kB / 332.2 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.006449, allocations: 4 kB / 332.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.006452, allocations: 0 / 332.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.006462, allocations: 7.938 kB / 332.2 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/0.006511, allocations: 11.98 kB / 332.2 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-06/0.006513, allocations: 3.938 kB / 332.2 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.006538, allocations: 7.938 kB / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.006543, allocations: 0 / 332.2 MB, free: 0.6641 MB / 298.7 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 (3): * Single equations (assignments): 3 * 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 6.596e-05/0.006609, allocations: 108.7 kB / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.006633, allocations: 23.97 kB / 332.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.72e-05/0.00672, allocations: 77.11 kB / 332.4 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.006724, allocations: 3.938 kB / 332.4 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.006726, allocations: 0 / 332.4 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.006728, allocations: 4 kB / 332.4 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.006845, allocations: 137.8 kB / 332.6 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.006847, allocations: 4 kB / 332.6 MB, free: 280 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/0.006868, allocations: 8 kB / 332.6 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.00687, allocations: 0 / 332.6 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.006874, allocations: 3.984 kB / 332.6 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.006875, allocations: 0 / 332.6 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.006875, allocations: 3.938 kB / 332.6 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.324e-05/0.006949, allocations: 155.5 kB / 332.8 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.006971, allocations: 39.7 kB / 332.8 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.006986, allocations: 4.422 kB / 332.8 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.007021, allocations: 4 kB / 332.8 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-06/0.00703, allocations: 0 / 332.8 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.007033, allocations: 7.938 kB / 332.8 MB, free: 36 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001768/0.00721, allocations: 283.2 kB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00721, allocations: 0 / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001302/0.00734, allocations: 16 kB / 333.1 MB, free: 15.74 MB / 314.7 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 (3): * Single equations (assignments): 3 * 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.0008375/0.008177, allocations: 432 kB / 333.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.188e-05/0.008229, allocations: 24.78 kB / 333.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.008235, allocations: 4 kB / 333.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.969e-06/0.008245, allocations: 12.84 kB / 333.6 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.0084, allocations: 21.97 kB / 333.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.008904, allocations: 0.5587 MB / 334.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.53e-05/0.008969, allocations: 119.2 kB / 334.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.289e-05/0.008992, allocations: 11.98 kB / 334.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.009036, allocations: 59.38 kB / 334.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009037, allocations: 0 / 334.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of Templates: time 0.00341/0.01245, allocations: 1.277 MB / 335.6 MB, free: 13.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9306243448518217]