Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001214/0.001214, 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.001353/0.001353, allocations: 161 kB / 24.91 MB, free: 9.195 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.9246/0.9246, allocations: 177 MB / 205.2 MB, free: 5.473 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.2654/0.2654, allocations: 34.86 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.894e-05, allocations: 3.562 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002518/0.002547, allocations: 1.688 MB / 327.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008254/0.003373, allocations: 0.5563 MB / 328.2 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.00344, allocations: 7.938 kB / 328.2 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.003727, allocations: 95.67 kB / 328.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.004012, allocations: 115.5 kB / 328.4 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.004281, allocations: 119.6 kB / 328.5 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.004428, allocations: 103.7 kB / 328.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.004524, allocations: 19.97 kB / 328.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.004603, allocations: 47.89 kB / 328.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/0.004686, allocations: 55.86 kB / 328.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.004702, allocations: 8 kB / 328.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.053e-05/0.004792, allocations: 55.84 kB / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.004843, allocations: 31.86 kB / 328.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.004871, allocations: 19.92 kB / 328.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.005022, allocations: 111.5 kB / 329 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005024, allocations: 0 / 329 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005025, allocations: 0 / 329 MB, free: 4.129 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.005029, allocations: 0 / 329 MB, free: 4.129 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003179/0.005346, allocations: 338.2 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.005378, allocations: 12.03 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.005415, allocations: 12.92 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.005542, allocations: 149.5 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.005549, allocations: 8.375 kB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.005571, allocations: 8.375 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.445e-05/0.005665, allocations: 67.94 kB / 329.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.005675, allocations: 8.109 kB / 329.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.005683, allocations: 4.375 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.005687, allocations: 384 / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.638e-05/0.005713, allocations: 15.94 kB / 329.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.005953, allocations: 203 kB / 329.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.809e-05/0.006011, allocations: 46.48 kB / 329.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.006028, allocations: 16.86 kB / 329.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.006052, allocations: 4 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.006071, allocations: 34.5 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.006072, allocations: 0 / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004582/0.006531, allocations: 198.8 kB / 330.1 MB, free: 2.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.00656, allocations: 55.41 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.006672, allocations: 189.1 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.006684, allocations: 29.7 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.006719, allocations: 108 kB / 330.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.006749, allocations: 43.64 kB / 330.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.006786, allocations: 33.69 kB / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.006862, allocations: 326.8 kB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.00688, allocations: 8 kB / 330.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/0.006899, allocations: 13.11 kB / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.92e-05/0.006948, allocations: 46.59 kB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.006949, allocations: 0 / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.649e-05/0.007025, allocations: 73.61 kB / 331 MB, free: 1.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.007035, allocations: 7.938 kB / 331 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.007038, allocations: 4 kB / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.007047, allocations: 0 / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.007118, allocations: 31.98 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.007121, allocations: 0 / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.007139, allocations: 4 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.007145, allocations: 0 / 331 MB, free: 1.91 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 (13): * Single equations (assignments): 13 * 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.268e-05/0.007208, allocations: 128.5 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.007227, allocations: 8 kB / 331.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.007356, allocations: 103.2 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.007359, allocations: 4 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.007362, allocations: 7.984 kB / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.007366, allocations: 3.984 kB / 331.3 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.007632, allocations: 292 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007634, allocations: 0 / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.00768, allocations: 23.92 kB / 331.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.007684, allocations: 4 kB / 331.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.007689, allocations: 4 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.00769, allocations: 0 / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.007691, allocations: 0 / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.007796, allocations: 184.3 kB / 331.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.007807, allocations: 19.84 kB / 331.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.007819, allocations: 4 kB / 331.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.448e-05/0.007853, allocations: 7.938 kB / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.007882, allocations: 11.97 kB / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.007888, allocations: 7.938 kB / 331.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.621e-05/0.007934, allocations: 65.55 kB / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007934, allocations: 0 / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001438/0.008078, allocations: 24 kB / 331.9 MB, free: 0.9531 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001226/0.009304, allocations: 0.5648 MB / 332.5 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.839e-05/0.009403, allocations: 48.77 kB / 332.5 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.009407, allocations: 4 kB / 332.5 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.009439, allocations: 32.78 kB / 332.5 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.00959, allocations: 24.05 kB / 332.6 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.009926, allocations: 277.8 kB / 332.8 MB, free: 268 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.009971, allocations: 83.27 kB / 332.9 MB, free: 164 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.341e-05/0.01001, allocations: 20.47 kB / 332.9 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.01007, allocations: 59.38 kB / 333 MB, free: 84 kB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01007, allocations: 0 / 333 MB, free: 84 kB / 298.7 MB Notification: Performance of Templates: time 0.003201/0.01327, allocations: 1.76 MB / 334.8 MB, free: 14.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.868723893072456]