Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.00137/0.00137, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001415/0.001415, allocations: 162 kB / 25.61 MB, free: 8.871 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.048/1.048, allocations: 177 MB / 205.9 MB, free: 4.453 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.1707/0.1707, allocations: 34.88 MB / 297.4 MB, free: 13.33 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.311e-05, allocations: 4.953 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002195/0.002218, allocations: 1.65 MB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007306/0.002948, allocations: 0.5445 MB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.00302, allocations: 0 / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.00343, allocations: 451 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.003791, allocations: 299.2 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.004093, allocations: 167.5 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.004278, allocations: 171.6 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.004373, allocations: 11.98 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.004462, allocations: 119.8 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.004629, allocations: 239.6 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.004644, allocations: 4 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-05/0.004699, allocations: 23.98 kB / 383.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/0.004773, allocations: 87.64 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.004804, allocations: 35.75 kB / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.004974, allocations: 191.2 kB / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004976, allocations: 0 / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004977, allocations: 0 / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.004982, allocations: 0 / 384 MB, free: 18.76 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.0004214/0.005403, allocations: 0.6892 MB / 384.7 MB, free: 18.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.005438, allocations: 12.03 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.005482, allocations: 48.66 kB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.00564, allocations: 244.9 kB / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.00565, allocations: 384 / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.005657, allocations: 384 / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.61e-05/0.005743, allocations: 58.89 kB / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.005751, allocations: 192 / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.005757, allocations: 4.312 kB / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.005762, allocations: 384 / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.795e-05/0.00578, allocations: 15.92 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.006047, allocations: 324.3 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.006101, allocations: 35 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.006117, allocations: 11.75 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.006135, allocations: 0 / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.006155, allocations: 37.39 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.006156, allocations: 0 / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001346/0.006291, allocations: 89.34 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.006315, allocations: 51.41 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.006608, allocations: 0.604 MB / 386.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.006616, allocations: 25.7 kB / 386.2 MB, free: 16.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.006768, allocations: 302.6 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.00679, allocations: 20.02 kB / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.006818, allocations: 15.38 kB / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.006925, allocations: 0.5586 MB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.006936, allocations: 4 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-06/0.006945, allocations: 0 / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.006975, allocations: 11.69 kB / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.006978, allocations: 0 / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.005e-05/0.007058, allocations: 77.42 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.007073, allocations: 7.984 kB / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.007079, allocations: 4.031 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.00709, allocations: 4 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.007148, allocations: 7.938 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.007151, allocations: 0 / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.007184, allocations: 8 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.007191, allocations: 3.984 kB / 387.2 MB, free: 15.3 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 (2): * Single equations (assignments): 2 * 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.188e-05/0.007253, allocations: 152.6 kB / 387.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.007294, allocations: 43.72 kB / 387.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.007398, allocations: 80.67 kB / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007399, allocations: 0 / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.007401, allocations: 4.031 kB / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.007403, allocations: 0 / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.007588, allocations: 205.1 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007589, allocations: 3.938 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.007611, allocations: 7.984 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.007613, allocations: 0 / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.007617, allocations: 0 / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.007618, allocations: 3.938 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.00762, allocations: 3.938 kB / 387.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.289e-05/0.007703, allocations: 223.7 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.00773, allocations: 35.75 kB / 388 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.007749, allocations: 8 kB / 388 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.59e-05/0.007805, allocations: 3.984 kB / 388 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.007816, allocations: 3.938 kB / 388 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.007818, allocations: 0 / 388 MB, free: 14.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002032/0.008021, allocations: 394.7 kB / 388.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008021, allocations: 0 / 388.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.008254, allocations: 16 kB / 388.4 MB, free: 14.07 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 (2): * Single equations (assignments): 2 * 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.0007721/0.009026, allocations: 333.4 kB / 388.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.466e-05/0.009091, allocations: 15.62 kB / 388.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.009092, allocations: 0 / 388.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.009103, allocations: 15.69 kB / 388.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.009396, allocations: 21.95 kB / 388.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.009961, allocations: 0.5632 MB / 389.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.326e-05/0.01003, allocations: 123.1 kB / 389.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.92e-05/0.01006, allocations: 7.984 kB / 389.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.01011, allocations: 78.2 kB / 389.5 MB, free: 13 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01011, allocations: 0 / 389.5 MB, free: 13 MB / 314.7 MB Notification: Performance of Templates: time 0.003928/0.01403, allocations: 1.253 MB / 390.8 MB, free: 11.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.675751145929098]