Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.0009638/0.0009638, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001504/0.001504, allocations: 166.4 kB / 24.91 MB, free: 8.77 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.9403/0.9403, allocations: 177 MB / 205.2 MB, free: 5.441 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.2719/0.2719, allocations: 34.87 MB / 296.6 MB, free: 0.5039 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.637e-05, allocations: 7.016 kB / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003693/0.003719, allocations: 1.693 MB / 327.6 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.004662, allocations: 0.5407 MB / 328.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.004721, allocations: 0 / 328.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.005284, allocations: 463 kB / 328.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005012/0.005786, allocations: 299.2 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.006144, allocations: 127.6 kB / 329 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.006402, allocations: 164.4 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/0.006493, allocations: 27.95 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.00667, allocations: 115.8 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.006886, allocations: 199.6 kB / 329.5 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.006903, allocations: 0 / 329.5 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.534e-05/0.006998, allocations: 35.92 kB / 329.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.007102, allocations: 79.72 kB / 329.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.007149, allocations: 39.73 kB / 329.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.007407, allocations: 195.1 kB / 329.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.00741, allocations: 4 kB / 329.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.007412, allocations: 3.984 kB / 329.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.007417, allocations: 0 / 329.9 MB, free: 3.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005533/0.00797, allocations: 0.5424 MB / 330.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.008005, allocations: 12.03 kB / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.008055, allocations: 24.91 kB / 330.5 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.008281, allocations: 234.1 kB / 330.7 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.00829, allocations: 4.375 kB / 330.7 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.008315, allocations: 16.25 kB / 330.7 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.008418, allocations: 54.95 kB / 330.8 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.008428, allocations: 4.188 kB / 330.8 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.008437, allocations: 4.375 kB / 330.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.008443, allocations: 384 / 330.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/0.008468, allocations: 11.92 kB / 330.8 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.008713, allocations: 160.2 kB / 330.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.008856, allocations: 34.5 kB / 331 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.008872, allocations: 8.859 kB / 331 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.008888, allocations: 0 / 331 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.008911, allocations: 34.5 kB / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.008912, allocations: 0 / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003304/0.009243, allocations: 117.8 kB / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.009273, allocations: 51.41 kB / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.009749, allocations: 0.5206 MB / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.009762, allocations: 25.7 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/0.009841, allocations: 149.3 kB / 331.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.009865, allocations: 19.8 kB / 331.9 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.009905, allocations: 17.72 kB / 331.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.01005, allocations: 358.7 kB / 332.3 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.01006, allocations: 4 kB / 332.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.01008, allocations: 4 kB / 332.3 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.01011, allocations: 24.78 kB / 332.3 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.01011, allocations: 0 / 332.3 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.109e-05/0.0102, allocations: 65.89 kB / 332.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.01022, allocations: 11.94 kB / 332.4 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01022, allocations: 4 kB / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.01024, allocations: 0 / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.204e-05/0.01029, allocations: 8 kB / 332.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.01029, allocations: 0 / 332.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.01033, allocations: 11.98 kB / 332.4 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.01034, allocations: 0 / 332.4 MB, free: 496 kB / 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 (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 7.855e-05/0.01041, allocations: 116.6 kB / 332.5 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.01046, allocations: 27.91 kB / 332.5 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.01059, allocations: 81.23 kB / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01059, allocations: 0 / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.0106, allocations: 4 kB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.0106, allocations: 0 / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.01098, allocations: 270.7 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01099, allocations: 4 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.01103, allocations: 11.94 kB / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01103, allocations: 0 / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.01104, allocations: 4 kB / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01104, allocations: 0 / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01104, allocations: 0 / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.01115, allocations: 163.4 kB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.01119, allocations: 43.59 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.01121, allocations: 4 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.01128, allocations: 4.172 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.0113, allocations: 4 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.01131, allocations: 4 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002588/0.01157, allocations: 279.2 kB / 333.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01157, allocations: 4 kB / 333.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.01182, allocations: 31.92 kB / 333.4 MB, free: 15.39 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 (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.001441/0.01326, allocations: 498.4 kB / 333.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.938e-05/0.01334, allocations: 16.86 kB / 333.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.01335, allocations: 8 kB / 333.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.476e-05/0.01338, allocations: 20.78 kB / 334 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.01363, allocations: 25.95 kB / 334 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.01442, allocations: 0.5703 MB / 334.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.966e-05/0.01452, allocations: 123.2 kB / 334.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.195e-05/0.01456, allocations: 11.98 kB / 334.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.01462, allocations: 63.34 kB / 334.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01462, allocations: 0 / 334.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of Templates: time 0.004448/0.01907, allocations: 1.452 MB / 336.2 MB, free: 12.81 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.9250771459192038]