Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.001288/0.001288, allocations: 84.34 kB / 22.22 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.0009834/0.0009834, allocations: 159.6 kB / 25.61 MB, free: 8.578 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.04/1.04, allocations: 177 MB / 205.9 MB, free: 4.414 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.1625/0.1625, allocations: 34.88 MB / 297.4 MB, free: 13.31 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.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.985e-06/2.985e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.21e-05/4.508e-05, allocations: 4.281 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.004132/0.004177, allocations: 1.693 MB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.005345, allocations: 0.7987 MB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.016e-05/0.005425, allocations: 0 / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.005846, allocations: 27.89 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.00624, allocations: 43.7 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.58e-06/0.006246, allocations: 0 / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.006457, allocations: 39.84 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.036e-05/0.006527, allocations: 11.92 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.006673, allocations: 8 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.006716, allocations: 15.91 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.00673, allocations: 0 / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.006794, allocations: 12 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.006861, allocations: 15.92 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.006891, allocations: 15.94 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.007077, allocations: 51.77 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.007083, allocations: 0 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.007085, allocations: 4 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.007094, allocations: 0 / 382.7 MB, free: 19.97 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004314/0.007526, allocations: 396.3 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.007584, allocations: 8.031 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.007645, allocations: 12.89 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.007828, allocations: 128.5 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.007841, allocations: 384 / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.007852, allocations: 4.375 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.007979, allocations: 116.2 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.007992, allocations: 192 / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.008003, allocations: 4.375 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/0.008055, allocations: 28.36 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.092e-05/0.008086, allocations: 27.84 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.008551, allocations: 1.173 MB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.297e-05/0.008624, allocations: 269.5 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.008645, allocations: 126.9 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.008662, allocations: 119.2 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.008694, allocations: 164.6 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.008695, allocations: 0 / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 7.31e-05/0.008768, allocations: 33.66 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.008812, allocations: 182.5 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.008943, allocations: 249.8 kB / 385.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.008949, allocations: 29.69 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.00902, allocations: 190.3 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.009026, allocations: 8 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.009079, allocations: 55.23 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.00917, allocations: 0.4962 MB / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.009183, allocations: 4 kB / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.009263, allocations: 203.2 kB / 386.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.009396, allocations: 225.5 kB / 386.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.009399, allocations: 3.938 kB / 387 MB, free: 15.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001798/0.009579, allocations: 161.3 kB / 387.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.009598, allocations: 11.98 kB / 387.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.009607, allocations: 4 kB / 387.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.009622, allocations: 4 kB / 387.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.009725, allocations: 43.92 kB / 387.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.009731, allocations: 7.938 kB / 387.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.009789, allocations: 24.31 kB / 387.2 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.009801, allocations: 19.98 kB / 387.2 MB, free: 15.08 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 7.374e-05/0.009874, allocations: 291.6 kB / 387.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.009923, allocations: 156.8 kB / 387.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.009966, allocations: 156.7 kB / 387.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-05/0.01001, allocations: 268.1 kB / 388.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.657e-05/0.01007, allocations: 272 kB / 388.3 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.625e-05/0.01013, allocations: 272.1 kB / 388.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.01029, allocations: 0.4887 MB / 389.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.651e-05/0.01031, allocations: 152.9 kB / 389.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.01033, allocations: 144.9 kB / 389.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.146e-05/0.01037, allocations: 276 kB / 389.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.01042, allocations: 268.1 kB / 389.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-05/0.01047, allocations: 268 kB / 390.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-05/0.01051, allocations: 272.1 kB / 390.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.01064, allocations: 455.9 kB / 390.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.01069, allocations: 152.8 kB / 391 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/0.01076, allocations: 272 kB / 391.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.91e-05/0.01082, allocations: 148.9 kB / 391.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.01089, allocations: 268 kB / 391.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.01093, allocations: 144.9 kB / 391.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.033e-05/0.011, allocations: 159.1 kB / 392 MB, free: 10.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.011, allocations: 0 / 392 MB, free: 10.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.01121, allocations: 19.94 kB / 392 MB, free: 10.08 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 (0): * Single equations (assignments): 0 * 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.0005577/0.01177, allocations: 310.9 kB / 392.3 MB, free: 9.828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.01191, allocations: 72.64 kB / 392.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.01191, allocations: 0 / 392.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.01191, allocations: 0 / 392.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.01214, allocations: 0.7152 MB / 393.1 MB, free: 9.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.01242, allocations: 281.2 kB / 393.4 MB, free: 8.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.01246, allocations: 67.83 kB / 393.5 MB, free: 8.645 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.435e-05/0.01253, allocations: 17.14 kB / 393.5 MB, free: 8.629 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.01257, allocations: 78.2 kB / 393.6 MB, free: 8.551 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01257, allocations: 0 / 393.6 MB, free: 8.551 MB / 314.7 MB Notification: Performance of Templates: time 0.002917/0.01549, allocations: 0.781 MB / 394.3 MB, free: 7.785 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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.2824225001968443]