Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.0009363/0.0009363, 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.0009673/0.0009673, allocations: 160.2 kB / 24.91 MB, free: 8.754 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.917/0.917, 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.2788/0.2788, allocations: 34.87 MB / 296.6 MB, free: 0.5117 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.282e-05, allocations: 8.141 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002412/0.002435, allocations: 1.651 MB / 327.6 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007189/0.003154, allocations: 0.5485 MB / 328.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.003201, allocations: 0 / 328.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.003429, allocations: 75.64 kB / 328.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.003663, allocations: 107.6 kB / 328.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.00388, allocations: 111.6 kB / 328.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.004006, allocations: 87.75 kB / 328.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.38e-05/0.00408, allocations: 15.98 kB / 328.5 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.324e-05/0.004143, allocations: 51.83 kB / 328.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.292e-05/0.004226, allocations: 47.88 kB / 328.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.004238, allocations: 4 kB / 328.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.977e-05/0.004308, allocations: 43.92 kB / 328.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.004351, allocations: 23.92 kB / 328.7 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.004374, allocations: 15.92 kB / 328.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.004508, allocations: 95.59 kB / 328.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.00451, allocations: 0 / 328.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004511, allocations: 4 kB / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.004514, allocations: 0 / 328.8 MB, free: 4.27 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.0002946/0.004808, allocations: 310.3 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.004838, allocations: 20.02 kB / 329.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.004863, allocations: 8.922 kB / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.00498, allocations: 142.3 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.004987, allocations: 384 / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.005004, allocations: 4.375 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.182e-05/0.005086, allocations: 62.92 kB / 329.3 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.005093, allocations: 192 / 329.3 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.005099, allocations: 384 / 329.3 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.005106, allocations: 4.375 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.005127, allocations: 11.88 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.005323, allocations: 175.1 kB / 329.5 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.694e-05/0.00537, allocations: 33.39 kB / 329.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.005384, allocations: 12.86 kB / 329.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.005397, allocations: 0 / 329.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.005415, allocations: 34.5 kB / 329.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.005416, allocations: 0 / 329.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004067/0.005823, allocations: 157.5 kB / 329.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.005849, allocations: 51.41 kB / 329.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.005953, allocations: 181.8 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.005962, allocations: 25.7 kB / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.005994, allocations: 104.1 kB / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.006014, allocations: 27.73 kB / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.006042, allocations: 21.7 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.006122, allocations: 326.8 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.00614, allocations: 4 kB / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-05/0.006158, allocations: 4 kB / 330.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.048e-05/0.006208, allocations: 35.59 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.00621, allocations: 0 / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.833e-05/0.006308, allocations: 65.83 kB / 330.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.006318, allocations: 8 kB / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006323, allocations: 0 / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.006336, allocations: 0 / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.006407, allocations: 19.98 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.006412, allocations: 4 kB / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.006438, allocations: 0 / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.006444, allocations: 0 / 330.6 MB, free: 2.285 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 (8): * Single equations (assignments): 8 * 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.061e-05/0.006505, allocations: 120.6 kB / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.006526, allocations: 11.94 kB / 330.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.006641, allocations: 83.12 kB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006643, allocations: 432 / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.006644, allocations: 0 / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006648, allocations: 0 / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.00688, allocations: 251.5 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.006882, allocations: 4 kB / 331.1 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.006924, allocations: 19.92 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.006927, allocations: 3.984 kB / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.006932, allocations: 0 / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.006934, allocations: 0 / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.006935, allocations: 8.031 kB / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.215e-05/0.007018, allocations: 160.3 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.007028, allocations: 15.84 kB / 331.3 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.007039, allocations: 3.984 kB / 331.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.298e-05/0.007072, allocations: 4 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.007093, allocations: 7.984 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.007098, allocations: 4 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.579e-05/0.007144, allocations: 56.08 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007144, allocations: 0 / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.007279, allocations: 23.98 kB / 331.4 MB, free: 1.453 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 (8): * Single equations (assignments): 8 * 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.001179/0.008458, allocations: 0.5539 MB / 331.9 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.383e-05/0.008532, allocations: 28.84 kB / 332 MB, free: 1.145 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.008541, allocations: 8 kB / 332 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.183e-05/0.008563, allocations: 24.8 kB / 332 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.008714, allocations: 23.92 kB / 332 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.008998, allocations: 223.9 kB / 332.2 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.054e-05/0.009039, allocations: 71.34 kB / 332.3 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.216e-05/0.009071, allocations: 17.03 kB / 332.3 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.009123, allocations: 63.3 kB / 332.4 MB, free: 0.668 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009123, allocations: 4.062 kB / 332.4 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of Templates: time 0.00306/0.01218, allocations: 1.525 MB / 333.9 MB, free: 15.15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.8120703231543303]