Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001006/0.001006, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001165/0.001165, allocations: 172 kB / 24.82 MB, free: 9.312 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2811/0.2811, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.908e-05, allocations: 5.547 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002814/0.002843, allocations: 1.65 MB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000828/0.003671, allocations: 0.5452 MB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.886e-05/0.00375, allocations: 0 / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.004275, allocations: 455.1 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.004715, allocations: 299.1 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.005094, allocations: 167.5 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.005334, allocations: 171.6 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.005456, allocations: 11.98 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.005622, allocations: 115.8 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.005899, allocations: 243.6 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.005923, allocations: 4 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.605e-05/0.006019, allocations: 27.88 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.00612, allocations: 83.69 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.006164, allocations: 35.75 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.006395, allocations: 187.2 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.006398, allocations: 0 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006399, allocations: 0 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.006404, allocations: 0 / 382.5 MB, free: 14.39 MB / 362.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.0005885/0.006993, allocations: 0.6854 MB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.007041, allocations: 11.97 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.007107, allocations: 52.59 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.007316, allocations: 248.8 kB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.007329, allocations: 4.375 kB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.007337, allocations: 384 / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.007454, allocations: 54.95 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.007461, allocations: 192 / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.007469, allocations: 4.125 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.007475, allocations: 0 / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.725e-05/0.007493, allocations: 4 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.00792, allocations: 336.3 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.457e-05/0.007975, allocations: 31.06 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.007991, allocations: 7.688 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.008023, allocations: 8.062 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.008046, allocations: 37.33 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/0.008048, allocations: 0 / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001617/0.008209, allocations: 85.34 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.008241, allocations: 55.41 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.008639, allocations: 0.6078 MB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.008651, allocations: 25.7 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.008823, allocations: 298.8 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.008843, allocations: 11.95 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.008875, allocations: 19.38 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.009045, allocations: 0.5547 MB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.009062, allocations: 7.984 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-06/0.00907, allocations: 0 / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.009098, allocations: 11.69 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.009101, allocations: 3.938 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.739e-05/0.009188, allocations: 81.34 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.009203, allocations: 10.03 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.009208, allocations: 4.094 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.009224, allocations: 3.984 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.009287, allocations: 8 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.00929, allocations: 0 / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.009316, allocations: 4 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.009322, allocations: 3.938 kB / 385.7 MB, free: 10.93 MB / 362.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 8.615e-05/0.009408, allocations: 152.6 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.009444, allocations: 47.66 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.009585, allocations: 84.66 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.009587, allocations: 4.031 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.009589, allocations: 0 / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.009592, allocations: 0 / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.009782, allocations: 201.1 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.009784, allocations: 0 / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.009817, allocations: 4 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.009822, allocations: 4 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.009827, allocations: 0 / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.009829, allocations: 3.938 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009831, allocations: 0 / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.009976, allocations: 227.6 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.01001, allocations: 39.75 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.01002, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.01006, allocations: 7.938 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.01007, allocations: 3.984 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.01008, allocations: 0 / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002159/0.01029, allocations: 390.7 kB / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01029, allocations: 0 / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.01047, allocations: 19.92 kB / 386.9 MB, free: 9.707 MB / 362.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.0007902/0.01126, allocations: 333.8 kB / 387.2 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.462e-05/0.01134, allocations: 15.67 kB / 387.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01135, allocations: 0 / 387.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.554e-05/0.01136, allocations: 15.69 kB / 387.2 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.01164, allocations: 29.84 kB / 387.3 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.01227, allocations: 0.5613 MB / 387.8 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.016e-05/0.01235, allocations: 119.2 kB / 387.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.243e-05/0.01238, allocations: 4 kB / 387.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.01244, allocations: 86.12 kB / 388 MB, free: 8.605 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01244, allocations: 0 / 388 MB, free: 8.605 MB / 362.7 MB Notification: Performance of Templates: time 0.003793/0.01623, allocations: 1.243 MB / 389.3 MB, free: 7.371 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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.198889610823244]