Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001856/0.001856, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.002036/0.002036, allocations: 161.5 kB / 25.61 MB, free: 8.887 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 1.007/1.007, allocations: 177 MB / 205.9 MB, free: 4.434 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.1831/0.1831, allocations: 34.87 MB / 297.4 MB, free: 13.34 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.CombiTable1Ds.Test25_usertab,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.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,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.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.471e-05, allocations: 2.844 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002113/0.002138, allocations: 1.636 MB / 381.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008106/0.002949, allocations: 0.5446 MB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.003012, allocations: 0 / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.003245, allocations: 31.78 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.00352, allocations: 83.55 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.003814, allocations: 87.69 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.00399, allocations: 83.7 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.004096, allocations: 8 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.004167, allocations: 39.89 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/0.004248, allocations: 23.92 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.004265, allocations: 4 kB / 382.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.004447, allocations: 99.75 kB / 382.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.004502, allocations: 19.91 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.004528, allocations: 11.94 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.00477, allocations: 139.6 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.004773, allocations: 4 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004774, allocations: 0 / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.004779, allocations: 4 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003877/0.005167, allocations: 439.8 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.005205, allocations: 12.03 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.005248, allocations: 8.891 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.005388, allocations: 144.4 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.005398, allocations: 384 / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.005418, allocations: 8.375 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.005569, allocations: 96.03 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.005579, allocations: 4.125 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.005589, allocations: 4.375 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005594, allocations: 4.375 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.005624, allocations: 15.92 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.00591, allocations: 264.4 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.005981, allocations: 50.97 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.094e-05/0.006002, allocations: 15.69 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.006022, allocations: 0 / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.006044, allocations: 37.38 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.006045, allocations: 3.938 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003759/0.006421, allocations: 129.5 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.006455, allocations: 81.11 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.006563, allocations: 197.9 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.006571, allocations: 25.7 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.006613, allocations: 150.8 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.006636, allocations: 23.8 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.006677, allocations: 35.34 kB / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.006737, allocations: 496.1 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.006757, allocations: 11.98 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.132e-05/0.006798, allocations: 57 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.935e-05/0.006847, allocations: 35.8 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.006848, allocations: 0 / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001027/0.006951, allocations: 81.56 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.006966, allocations: 11.94 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.006971, allocations: 0 / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.006982, allocations: 0 / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.00706, allocations: 16.36 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.007064, allocations: 4 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.007093, allocations: 0 / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.0071, allocations: 11.98 kB / 385.2 MB, free: 17.26 MB / 314.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 (9): * Single equations (assignments): 9 * 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 5.214e-05/0.007152, allocations: 160.5 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.007182, allocations: 11.95 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.007305, allocations: 82.39 kB / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.007308, allocations: 0 / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.00731, allocations: 0 / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.007314, allocations: 4 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.007584, allocations: 329.9 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.007587, allocations: 3.938 kB / 385.8 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.007635, allocations: 15.98 kB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.007639, allocations: 0 / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.007646, allocations: 8 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007647, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007648, allocations: 4 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.653e-05/0.007745, allocations: 211.8 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.007759, allocations: 23.81 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.007773, allocations: 4 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.007824, allocations: 4 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.007851, allocations: 3.984 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.007856, allocations: 4 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.61e-05/0.007902, allocations: 152.9 kB / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007902, allocations: 0 / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002863/0.008188, allocations: 39.88 kB / 386.3 MB, free: 16.15 MB / 314.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 (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.001284/0.009472, allocations: 498.3 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.009596, allocations: 47.53 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.009598, allocations: 4 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.618e-05/0.009625, allocations: 23.67 kB / 386.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.009888, allocations: 31.86 kB / 386.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.0102, allocations: 172.2 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.848e-05/0.01023, allocations: 75.14 kB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.104e-05/0.01029, allocations: 16.62 kB / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.01036, allocations: 90.19 kB / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01036, allocations: 4 kB / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of Templates: time 0.004495/0.01486, allocations: 2.28 MB / 389.5 MB, free: 13.08 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.6333623840473592]