Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.136/1.136, allocations: 177.1 MB / 206.1 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1695/0.1695, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.364e-05/4.665e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002558/0.002604, allocations: 1.63 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.003476, allocations: 0.5452 MB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.003556, allocations: 4 kB / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.004014, allocations: 455.1 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004495/0.004464, allocations: 295.2 kB / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.004855, allocations: 167.5 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.005097, allocations: 179.6 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.005226, allocations: 7.859 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.005355, allocations: 115.8 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.005536, allocations: 239.6 kB / 380.9 MB, free: 21.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.005559, allocations: 4 kB / 380.9 MB, free: 21.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.841e-05/0.005657, allocations: 23.98 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.847e-05/0.005756, allocations: 87.64 kB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.005803, allocations: 43.73 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.006013, allocations: 179.2 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.006017, allocations: 8 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006018, allocations: 0 / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.006025, allocations: 0 / 381.2 MB, free: 21.6 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.0005002/0.006526, allocations: 0.6853 MB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.006567, allocations: 19.97 kB / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.006619, allocations: 44.66 kB / 382 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.006786, allocations: 248.8 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.006798, allocations: 8.375 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.006807, allocations: 384 / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.863e-05/0.006905, allocations: 58.94 kB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006913, allocations: 192 / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.006922, allocations: 8.125 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006929, allocations: 0 / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.006945, allocations: 4 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.007245, allocations: 328.3 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.007291, allocations: 31.05 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.007307, allocations: 11.69 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.007324, allocations: 4.062 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.007342, allocations: 45.33 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.007343, allocations: 0 / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001452/0.007489, allocations: 77.36 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.007509, allocations: 59.39 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.007785, allocations: 0.6079 MB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.007793, allocations: 25.7 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.007908, allocations: 294.7 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.007927, allocations: 7.891 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.007962, allocations: 23.36 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.008051, allocations: 0.5547 MB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.008061, allocations: 8.125 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-06/0.00807, allocations: 0 / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.0081, allocations: 11.69 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008102, allocations: 3.938 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.221e-05/0.008184, allocations: 93.28 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.008198, allocations: 4 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.008204, allocations: 0 / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.008214, allocations: 0 / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.008277, allocations: 4 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.008279, allocations: 96 / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.008306, allocations: 11.98 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.008312, allocations: 0 / 384.5 MB, free: 18.14 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.015e-05/0.008372, allocations: 152.6 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.008404, allocations: 47.66 kB / 384.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.008508, allocations: 72.75 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.008511, allocations: 7.922 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.008514, allocations: 0 / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.008518, allocations: 0 / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.008668, allocations: 193.1 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.00867, allocations: 8.031 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.008692, allocations: 3.984 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.008694, allocations: 4 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.0087, allocations: 4 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.008701, allocations: 3.938 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008702, allocations: 0 / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.315e-05/0.008795, allocations: 227.7 kB / 385.2 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.008818, allocations: 31.72 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.008832, allocations: 0 / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.008868, allocations: 7.938 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.00888, allocations: 4.031 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.008884, allocations: 0 / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.009049, allocations: 398.6 kB / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009049, allocations: 0 / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.009221, allocations: 16 kB / 385.6 MB, free: 16.93 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.0007503/0.009971, allocations: 344 kB / 386 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.094e-05/0.01006, allocations: 11.69 kB / 386 MB, free: 16.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01006, allocations: 4.062 kB / 386 MB, free: 16.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.438e-06/0.01007, allocations: 15.67 kB / 386 MB, free: 16.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.01034, allocations: 30.2 kB / 386 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.01085, allocations: 0.5644 MB / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.038e-05/0.01091, allocations: 127 kB / 386.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.163e-05/0.01095, allocations: 7.984 kB / 386.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.01099, allocations: 78.19 kB / 386.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01099, allocations: 0 / 386.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of Templates: time 0.004057/0.01505, allocations: 1.241 MB / 388 MB, free: 14.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4043338941410184]