Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001428/0.001428, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001577/0.001577, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.033/1.033, allocations: 177 MB / 204.8 MB, free: 5.602 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.2568/0.2568, allocations: 34.87 MB / 296.3 MB, free: 0.5312 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.466e-05, allocations: 2.312 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002569/0.002594, allocations: 1.628 MB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.003855, allocations: 1.289 MB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.003912, allocations: 0 / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.00414, allocations: 31.78 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.004463, allocations: 83.5 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.004741, allocations: 107.7 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.004885, allocations: 75.75 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.00498, allocations: 15.8 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.005039, allocations: 39.84 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.445e-05/0.005133, allocations: 19.97 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.005149, allocations: 4 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.00529, allocations: 95.81 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.005333, allocations: 15.92 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.005363, allocations: 11.98 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.005566, allocations: 135.5 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005569, allocations: 0 / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00557, allocations: 4 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.005574, allocations: 4 kB / 382.3 MB, free: 14.5 MB / 362.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.0004215/0.005995, allocations: 424 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.006032, allocations: 8.031 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.006083, allocations: 12.89 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.00624, allocations: 140.5 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.00625, allocations: 8.312 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.006271, allocations: 4.375 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.006406, allocations: 96.03 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.006416, allocations: 192 / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.006425, allocations: 12.31 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.006434, allocations: 4.375 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.948e-05/0.006463, allocations: 11.92 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.006754, allocations: 279.7 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.006908, allocations: 39.05 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.00693, allocations: 11.69 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.00695, allocations: 4 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.006974, allocations: 33.39 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.006974, allocations: 0 / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003364/0.007311, allocations: 113.4 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.007349, allocations: 81.11 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.007462, allocations: 196.9 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.007476, allocations: 25.7 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.007532, allocations: 146.9 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.00755, allocations: 19.86 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.007581, allocations: 19.38 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.007704, allocations: 0.4923 MB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.007721, allocations: 7.938 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.007758, allocations: 53.06 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.67e-05/0.007795, allocations: 27.72 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007796, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.918e-05/0.007875, allocations: 61.62 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.007887, allocations: 4 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.007891, allocations: 0 / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.007903, allocations: 0 / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.007951, allocations: 16.19 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.007956, allocations: 3.984 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.007977, allocations: 7.953 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.007983, allocations: 4 kB / 384.7 MB, free: 11.92 MB / 362.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.21e-05/0.008045, allocations: 160.6 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.008065, allocations: 11.89 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.008181, allocations: 70.08 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008183, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.008187, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.008189, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.008418, allocations: 329.3 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.00842, allocations: 0 / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.008454, allocations: 11.98 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.008457, allocations: 0 / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.008465, allocations: 4 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.008466, allocations: 8 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008468, allocations: 0 / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.00858, allocations: 207.8 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.00859, allocations: 11.95 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.008604, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.534e-05/0.008639, allocations: 4 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.008669, allocations: 3.984 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.008672, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.539e-05/0.008738, allocations: 155.2 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008738, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.008936, allocations: 35.88 kB / 385.7 MB, free: 10.85 MB / 362.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.0009916/0.009928, allocations: 477.2 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.01003, allocations: 35.55 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01003, allocations: 4 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-05/0.01006, allocations: 23.69 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.01026, allocations: 19.92 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.01057, allocations: 177.9 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.547e-05/0.01061, allocations: 63.34 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.362e-05/0.01065, allocations: 15.97 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.01068, allocations: 12.5 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01068, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003847/0.01453, allocations: 2.02 MB / 388.5 MB, free: 8.117 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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: 3.103251584805548]