Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0009489/0.0009489, allocations: 84.73 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.0009685/0.0009685, allocations: 165 kB / 24.91 MB, free: 9.184 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 0.9656/0.9656, allocations: 177 MB / 205.2 MB, free: 5.461 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.2452/0.2452, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.654e-05, allocations: 5.672 kB / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002668/0.002684, allocations: 1.651 MB / 327.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008822/0.003567, allocations: 0.5523 MB / 328.1 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.00362, allocations: 3.938 kB / 328.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.004179, allocations: 463.1 kB / 328.6 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.004599, allocations: 291.1 kB / 328.9 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.00497, allocations: 171.6 kB / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.005187, allocations: 172.3 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.607e-05/0.005264, allocations: 11.98 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.005396, allocations: 119.8 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.005592, allocations: 199.7 kB / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.005609, allocations: 4 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.047e-05/0.00567, allocations: 23.92 kB / 329.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.708e-05/0.005757, allocations: 79.72 kB / 329.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.005802, allocations: 43.72 kB / 329.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.006031, allocations: 183.2 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.006033, allocations: 0 / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.006033, allocations: 0 / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.006037, allocations: 0 / 329.8 MB, free: 3.238 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.0005401/0.006577, allocations: 0.5463 MB / 330.4 MB, free: 2.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.006609, allocations: 8.031 kB / 330.4 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.006652, allocations: 20.92 kB / 330.4 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.006873, allocations: 246 kB / 330.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.006883, allocations: 4.375 kB / 330.7 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.006895, allocations: 384 / 330.7 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.608e-05/0.006991, allocations: 58.94 kB / 330.7 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.006997, allocations: 4.125 kB / 330.7 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.007005, allocations: 4.359 kB / 330.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.007011, allocations: 384 / 330.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.007031, allocations: 11.94 kB / 330.7 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.007299, allocations: 195.1 kB / 330.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.007342, allocations: 18.58 kB / 331 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.346e-05/0.007356, allocations: 8.797 kB / 331 MB, free: 2.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.00737, allocations: 64 / 331 MB, free: 2.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.007392, allocations: 38.62 kB / 331 MB, free: 1.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.007393, allocations: 0 / 331 MB, free: 1.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.007519, allocations: 57.61 kB / 331.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.007548, allocations: 51.41 kB / 331.1 MB, free: 1.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/0.007987, allocations: 0.5284 MB / 331.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.007998, allocations: 25.7 kB / 331.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.008084, allocations: 157.2 kB / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.008099, allocations: 3.953 kB / 331.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.008128, allocations: 13.72 kB / 331.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.008238, allocations: 358.6 kB / 332.2 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.008247, allocations: 4 kB / 332.2 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-06/0.008256, allocations: 3.984 kB / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.008282, allocations: 11.69 kB / 332.2 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.008286, allocations: 4 kB / 332.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.105e-05/0.008357, allocations: 53.73 kB / 332.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.008369, allocations: 8 kB / 332.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.008373, allocations: 0 / 332.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.008385, allocations: 3.938 kB / 332.3 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.95e-05/0.008434, allocations: 11.92 kB / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.008436, allocations: 3.938 kB / 332.3 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.008468, allocations: 0 / 332.3 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.008473, allocations: 0 / 332.3 MB, free: 0.625 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 (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 7.691e-05/0.00855, allocations: 116.7 kB / 332.4 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.008588, allocations: 20 kB / 332.4 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.008688, allocations: 72.75 kB / 332.5 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.008691, allocations: 3.938 kB / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.008694, allocations: 4 kB / 332.5 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.008696, allocations: 0 / 332.5 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.008876, allocations: 133.8 kB / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.008877, allocations: 0 / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.008898, allocations: 11.98 kB / 332.6 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.0089, allocations: 0 / 332.6 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.008904, allocations: 0 / 332.6 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008905, allocations: 0 / 332.6 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008906, allocations: 4.031 kB / 332.6 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.508e-05/0.009001, allocations: 159.4 kB / 332.8 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.009034, allocations: 35.72 kB / 332.8 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.009053, allocations: 0 / 332.8 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.009114, allocations: 7.984 kB / 332.8 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.009124, allocations: 3.938 kB / 332.8 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.009126, allocations: 0 / 332.8 MB, free: 12 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002682/0.009394, allocations: 283.2 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009394, allocations: 0 / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.00963, allocations: 19.94 kB / 333.1 MB, free: 15.71 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 (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.001188/0.01082, allocations: 426.3 kB / 333.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.754e-05/0.01087, allocations: 16.8 kB / 333.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.01088, allocations: 8.062 kB / 333.6 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.228e-05/0.01089, allocations: 12.84 kB / 333.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.01113, allocations: 21.97 kB / 333.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.01182, allocations: 0.566 MB / 334.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.956e-05/0.01192, allocations: 117.8 kB / 334.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.868e-05/0.01195, allocations: 4 kB / 334.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.012, allocations: 59.38 kB / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.012, allocations: 0 / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of Templates: time 0.004027/0.01603, allocations: 1.244 MB / 335.6 MB, free: 13.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.8905904460698366]