Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.0008018/0.0008018, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001845, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007235/0.0007235, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.001949, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.015/1.015, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09015/1.105, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2649/0.2649, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03081/0.2957, allocations: 13.23 MB / 292.6 MB, free: 6.461 MB / 282.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 293.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.788e-06/1.114e-05, allocations: 4.562 kB / 293.9 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001854/0.001865, allocations: 1.727 MB / 295.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007593/0.002625, allocations: 0.5839 MB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.945e-05/0.002694, allocations: 4 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.00315, allocations: 491 kB / 296.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.00353, allocations: 315.2 kB / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.003916, allocations: 177.1 kB / 297.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.004155, allocations: 171.6 kB / 297.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.004245, allocations: 15.91 kB / 297.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.004419, allocations: 163.7 kB / 297.5 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.004579, allocations: 187.7 kB / 297.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.004596, allocations: 4 kB / 297.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.442e-05/0.004671, allocations: 35.92 kB / 297.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.004746, allocations: 79.72 kB / 297.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.004785, allocations: 39.75 kB / 297.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.004984, allocations: 199.1 kB / 298 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-05/0.005002, allocations: 0 / 298 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005003, allocations: 0 / 298 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.005017, allocations: 0 / 298 MB, free: 0.9844 MB / 282.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.000521/0.005538, allocations: 0.5965 MB / 298.6 MB, free: 368 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.005568, allocations: 12.92 kB / 298.7 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.005607, allocations: 28.89 kB / 298.7 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.00579, allocations: 246 kB / 298.9 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.005803, allocations: 384 / 298.9 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.005825, allocations: 8.375 kB / 298.9 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.005932, allocations: 58.94 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.005941, allocations: 192 / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.005948, allocations: 384 / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.005955, allocations: 8.375 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.289e-05/0.005988, allocations: 15.86 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.006238, allocations: 203 kB / 299.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.006384, allocations: 33.39 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.006401, allocations: 12.86 kB / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.006418, allocations: 0 / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.006441, allocations: 38.5 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.006442, allocations: 0 / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002686/0.006711, allocations: 105.5 kB / 299.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.006744, allocations: 51.41 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.007057, allocations: 0.5245 MB / 300 MB, free: 14.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.007069, allocations: 25.7 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.007126, allocations: 153.2 kB / 300.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.007145, allocations: 15.91 kB / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.00717, allocations: 17.7 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.007257, allocations: 354.7 kB / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-06/0.007267, allocations: 8 kB / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.007277, allocations: 4 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.69e-05/0.007304, allocations: 19.67 kB / 300.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.007304, allocations: 0 / 300.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.676e-05/0.007371, allocations: 73.59 kB / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.007383, allocations: 10.44 kB / 300.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.007387, allocations: 0 / 300.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.007395, allocations: 0 / 300.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.00744, allocations: 15.98 kB / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.007443, allocations: 0 / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.007465, allocations: 0 / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-06/0.00747, allocations: 8 kB / 300.7 MB, free: 14.2 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 (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 6.112e-05/0.007531, allocations: 112.7 kB / 300.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.007557, allocations: 27.91 kB / 300.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.007654, allocations: 89.11 kB / 300.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007655, allocations: 320 / 300.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.007657, allocations: 0 / 300.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.007659, allocations: 0 / 300.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.007903, allocations: 274.7 kB / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.007905, allocations: 0 / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.007938, allocations: 27.92 kB / 301.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.00796, allocations: 31.72 kB / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.007962, allocations: 0 / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.007966, allocations: 0 / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007968, allocations: 4 kB / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007969, allocations: 3.938 kB / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.671e-05/0.008046, allocations: 159.7 kB / 301.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.008059, allocations: 0 / 301.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.008096, allocations: 4 kB / 301.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.008117, allocations: 11.97 kB / 301.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.00812, allocations: 0 / 301.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.008316, allocations: 287.2 kB / 301.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008317, allocations: 4 kB / 301.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.008454, allocations: 19.94 kB / 301.7 MB, free: 13.11 MB / 298.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.001163/0.009618, allocations: 0.5254 MB / 302.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.084e-05/0.009699, allocations: 24.78 kB / 302.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.00971, allocations: 8 kB / 302.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.724e-05/0.009727, allocations: 12.86 kB / 302.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.009931, allocations: 41.91 kB / 302.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007627/0.01069, allocations: 0.5896 MB / 302.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.929e-05/0.01076, allocations: 123.2 kB / 303 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.896e-05/0.01079, allocations: 12.22 kB / 303 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.01087, allocations: 59.31 kB / 303.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01087, allocations: 3.938 kB / 303.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of Templates: time 0.003661/0.01453, allocations: 1.497 MB / 304.6 MB, free: 10.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.8836343036964536]