Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001194/0.001194, allocations: 85.91 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.001242/0.001242, allocations: 159.2 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 0.9816/0.9816, 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.1478/0.1478, allocations: 34.88 MB / 297.4 MB, free: 13.36 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.577e-05, allocations: 5.156 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.00189/0.001905, allocations: 1.686 MB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004535/0.002359, allocations: 0.8065 MB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.002398, allocations: 4 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.002656, allocations: 27.83 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.002847, allocations: 43.72 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.00285, allocations: 0 / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.00298, allocations: 31.89 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.003023, allocations: 11.94 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.003097, allocations: 19.92 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.392e-05/0.00312, allocations: 11.97 kB / 382.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.916e-06/0.003129, allocations: 0 / 382.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.058e-05/0.00317, allocations: 8 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.00321, allocations: 19.92 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.616e-05/0.003226, allocations: 7.938 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.003334, allocations: 59.7 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003336, allocations: 0 / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003337, allocations: 0 / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.003341, allocations: 0 / 382.7 MB, free: 20.01 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.0002493/0.00359, allocations: 404.3 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.003622, allocations: 8.031 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.003653, allocations: 8.891 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.003756, allocations: 116.6 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.003767, allocations: 4.359 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.003775, allocations: 8.375 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.931e-05/0.003864, allocations: 112.3 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.003872, allocations: 192 / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.00388, allocations: 4.375 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.003915, allocations: 24.3 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.003937, allocations: 31.86 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.004237, allocations: 1.177 MB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.818e-05/0.004285, allocations: 261.4 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.004301, allocations: 130.9 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.004315, allocations: 123.2 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.004344, allocations: 156.7 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.004345, allocations: 3.938 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.672e-05/0.004391, allocations: 33.66 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.004427, allocations: 182.5 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.004526, allocations: 245.8 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-06/0.00453, allocations: 33.64 kB / 385.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.004582, allocations: 198.3 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.004585, allocations: 4 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.004621, allocations: 51.3 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.004675, allocations: 0.4962 MB / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.004686, allocations: 7.984 kB / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.004743, allocations: 203.1 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.986e-05/0.004843, allocations: 229.5 kB / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004845, allocations: 0 / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001519/0.004997, allocations: 161.5 kB / 387.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.005008, allocations: 8 kB / 387.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.005014, allocations: 4 kB / 387.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.005025, allocations: 4 kB / 387.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.005101, allocations: 39.92 kB / 387.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.005108, allocations: 15.86 kB / 387.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.005155, allocations: 27.78 kB / 387.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.005164, allocations: 15.98 kB / 387.2 MB, free: 15.12 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 5.905e-05/0.005223, allocations: 295.9 kB / 387.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.005253, allocations: 152.8 kB / 387.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.005289, allocations: 164.6 kB / 387.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/0.005315, allocations: 264.1 kB / 388.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-05/0.005341, allocations: 272 kB / 388.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.005369, allocations: 268.2 kB / 388.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.005484, allocations: 496.5 kB / 389.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.005502, allocations: 152.8 kB / 389.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.44e-05/0.005516, allocations: 148.9 kB / 389.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.809e-05/0.005545, allocations: 268 kB / 389.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.005573, allocations: 268.1 kB / 389.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-05/0.005603, allocations: 272.1 kB / 390.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.961e-05/0.005632, allocations: 272 kB / 390.4 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.237e-05/0.005705, allocations: 455.8 kB / 390.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.00573, allocations: 156.8 kB / 391 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.005765, allocations: 264.1 kB / 391.3 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.005806, allocations: 152.8 kB / 391.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.005839, allocations: 272.1 kB / 391.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.005855, allocations: 148.8 kB / 391.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.483e-05/0.0059, allocations: 159.1 kB / 392 MB, free: 10.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0059, allocations: 0 / 392 MB, free: 10.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.006083, allocations: 19.94 kB / 392 MB, free: 10.11 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.0003821/0.006466, allocations: 304.2 kB / 392.3 MB, free: 9.863 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.321e-05/0.006559, allocations: 67.45 kB / 392.4 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.00656, allocations: 0 / 392.4 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.006561, allocations: 1.25 kB / 392.4 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.006765, allocations: 0.7075 MB / 393.1 MB, free: 9.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002101/0.006975, allocations: 285.2 kB / 393.4 MB, free: 8.773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.495e-05/0.007, allocations: 63.84 kB / 393.4 MB, free: 8.691 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.007051, allocations: 13.14 kB / 393.5 MB, free: 8.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.007085, allocations: 90.12 kB / 393.5 MB, free: 8.59 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007085, allocations: 0 / 393.5 MB, free: 8.59 MB / 314.7 MB Notification: Performance of Templates: time 0.002301/0.009387, allocations: 0.7842 MB / 394.3 MB, free: 7.824 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.2120437757112086]