Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.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.0009591/0.0009591, allocations: 91.5 kB / 21.2 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.0009731/0.0009731, allocations: 160.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 0.9933/0.9933, allocations: 177 MB / 204.8 MB, free: 5.566 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.2824/0.2824, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.984e-05, allocations: 4.844 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002367/0.002397, allocations: 1.645 MB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008419/0.003239, allocations: 0.5525 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.175e-05/0.00331, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.003646, allocations: 107.6 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.003933, allocations: 123.5 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.004172, allocations: 95.62 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.00436, allocations: 95.73 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.004468, allocations: 11.94 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.004549, allocations: 51.88 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.004676, allocations: 71.84 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.004694, allocations: 0 / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.004809, allocations: 47.92 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.004872, allocations: 23.91 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.004907, allocations: 15.94 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.005126, allocations: 95.59 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.005131, allocations: 0 / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.005132, allocations: 3.938 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.005141, allocations: 4 kB / 381.7 MB, free: 15.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005161/0.005657, allocations: 451.8 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.005708, allocations: 12.03 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.005757, allocations: 16.84 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.005913, allocations: 153.2 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.005925, allocations: 8.375 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.005951, allocations: 384 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.0061, allocations: 62.94 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.00611, allocations: 192 / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.00612, allocations: 4.312 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.006129, allocations: 8.375 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.006165, allocations: 15.92 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.006498, allocations: 295.7 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.232e-05/0.00657, allocations: 46.98 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.006597, allocations: 15.77 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.006627, allocations: 4 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.006661, allocations: 41.33 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.006663, allocations: 0 / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006975/0.00736, allocations: 177.3 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.007399, allocations: 51.41 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.007578, allocations: 263.1 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.00759, allocations: 29.7 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.007662, allocations: 158.9 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.007695, allocations: 31.73 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.00773, allocations: 23.38 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.007866, allocations: 0.5001 MB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.007889, allocations: 7.984 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.007907, allocations: 11.94 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.572e-05/0.007953, allocations: 39.67 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007954, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.747e-05/0.008052, allocations: 85.52 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.008068, allocations: 4 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.008075, allocations: 4 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.008091, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.008188, allocations: 19.92 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.008195, allocations: 4.25 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.008216, allocations: 4 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.008223, allocations: 4 kB / 384.2 MB, free: 12.39 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 (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 0.0004134/0.008636, allocations: 160.6 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.008664, allocations: 23.84 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.008848, allocations: 87.11 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.008853, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.00886, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.008866, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.009251, allocations: 384.9 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.009255, allocations: 4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.009308, allocations: 15.94 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.009312, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.00932, allocations: 8.016 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.009325, allocations: 8 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.009327, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.009461, allocations: 235.5 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.009474, allocations: 11.91 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.009488, allocations: 7.938 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.397e-05/0.009532, allocations: 3.984 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.009569, allocations: 4 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.009575, allocations: 8 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.973e-05/0.009665, allocations: 183.1 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009665, allocations: 4 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.009839, allocations: 19.94 kB / 385.4 MB, free: 11.16 MB / 362.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.001188/0.01103, allocations: 427.5 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.01116, allocations: 47.58 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01117, allocations: 0 / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.187e-05/0.0112, allocations: 35.61 kB / 385.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.01144, allocations: 12 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.01188, allocations: 261.5 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.871e-05/0.01193, allocations: 71.33 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.689e-05/0.01197, allocations: 8.734 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.012, allocations: 16.48 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.012, allocations: 0 / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.003664/0.01566, allocations: 1.402 MB / 387.6 MB, free: 8.977 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.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.3807430802844465]