Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001094/0.001094, allocations: 85.91 kB / 22.22 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.001366/0.001366, allocations: 163.4 kB / 25.61 MB, free: 8.582 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.002/1.002, allocations: 177 MB / 205.9 MB, free: 4.457 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.1859/0.1859, allocations: 34.88 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.CombiTable1Dv.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.832e-05, allocations: 5 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002198/0.002226, allocations: 1.628 MB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.002974, allocations: 0.5407 MB / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.003034, allocations: 4 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.003222, allocations: 19.84 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.003452, allocations: 79.56 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.003677, allocations: 107.7 kB / 382.4 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.003791, allocations: 71.77 kB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.582e-05/0.003877, allocations: 11.98 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.78e-05/0.003925, allocations: 31.92 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.003986, allocations: 19.91 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.003998, allocations: 4 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-05/0.004062, allocations: 31.92 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.004102, allocations: 11.94 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.004126, allocations: 15.92 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.004263, allocations: 75.67 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004265, allocations: 0 / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004266, allocations: 0 / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.00427, allocations: 0 / 382.7 MB, free: 20.08 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003217/0.004592, allocations: 400.2 kB / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.004632, allocations: 12.03 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.004664, allocations: 12.89 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.004775, allocations: 142.1 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-06/0.004784, allocations: 4.375 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.004804, allocations: 12.25 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.565e-05/0.0049, allocations: 50.95 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.004909, allocations: 192 / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.004917, allocations: 4.375 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.004922, allocations: 384 / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.096e-05/0.004943, allocations: 11.92 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.005131, allocations: 248.5 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.005248, allocations: 46.97 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.005262, allocations: 11.69 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.005276, allocations: 0 / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.00529, allocations: 41.39 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.005291, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002546/0.005545, allocations: 97.45 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.005565, allocations: 55.41 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.005638, allocations: 191.2 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.005643, allocations: 25.7 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.005672, allocations: 150.8 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.005689, allocations: 15.86 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.005717, allocations: 27.36 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.363e-05/0.005771, allocations: 0.4884 MB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.005781, allocations: 3.984 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.005792, allocations: 4 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.00582, allocations: 35.8 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.005821, allocations: 0 / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.541e-05/0.005876, allocations: 53.64 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.005888, allocations: 11.94 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005892, allocations: 4 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.0059, allocations: 0 / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.564e-05/0.005935, allocations: 11.98 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.005938, allocations: 0 / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.005954, allocations: 4 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.005958, allocations: 3.984 kB / 384.8 MB, free: 17.73 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 (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 3.967e-05/0.005998, allocations: 160.5 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.006015, allocations: 11.95 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.66e-05/0.006102, allocations: 70.02 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006104, allocations: 3.938 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.006106, allocations: 4 kB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006109, allocations: 0 / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.006283, allocations: 294 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006285, allocations: 0 / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.00631, allocations: 11.98 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.006314, allocations: 3.938 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.006318, allocations: 4 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.00632, allocations: 192 / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006321, allocations: 4 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.705e-05/0.006388, allocations: 207.9 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.006396, allocations: 11.89 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.006405, allocations: 7.938 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.726e-05/0.006432, allocations: 0 / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.006457, allocations: 7.984 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.00646, allocations: 0 / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.006489, allocations: 149.6 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006489, allocations: 0 / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001485/0.006638, allocations: 12 kB / 385.7 MB, free: 16.72 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 (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.0007211/0.007359, allocations: 388.2 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.567e-05/0.007435, allocations: 23.67 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007436, allocations: 0 / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.924e-05/0.007455, allocations: 19.62 kB / 386.2 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.007659, allocations: 18.17 kB / 386.2 MB, free: 16.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.007889, allocations: 176.5 kB / 386.4 MB, free: 16.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.493e-05/0.007914, allocations: 67.19 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.693e-05/0.007941, allocations: 15.97 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.007979, allocations: 74.2 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00798, allocations: 0 / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of Templates: time 0.002875/0.01086, allocations: 1.295 MB / 387.8 MB, free: 14.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.4829310313798487]