Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.0009146/0.0009146, 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.0009834/0.0009834, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2939/0.2939, allocations: 34.27 MB / 296.1 MB, free: 0.6445 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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 378.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.356e-05, allocations: 5.266 kB / 378.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002325/0.002339, allocations: 1.692 MB / 380.2 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007729/0.003112, allocations: 0.5296 MB / 380.7 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.003172, allocations: 8 kB / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.003645, allocations: 455.1 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.004032, allocations: 291.1 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.00431, allocations: 131.6 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.004523, allocations: 167.6 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.004615, allocations: 19.91 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.004745, allocations: 115.8 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.004963, allocations: 239.6 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.00498, allocations: 4 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.909e-05/0.005069, allocations: 39.92 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.005168, allocations: 79.72 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.005211, allocations: 43.72 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.005446, allocations: 195.1 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005448, allocations: 0 / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.005449, allocations: 0 / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.005455, allocations: 0 / 382.5 MB, free: 14.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005562/0.006011, allocations: 0.6931 MB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.006046, allocations: 8.031 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.006094, allocations: 48.66 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.006281, allocations: 252.8 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.006289, allocations: 384 / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.006306, allocations: 4.375 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.521e-05/0.006401, allocations: 58.89 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006411, allocations: 8.156 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.006419, allocations: 8.109 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.006426, allocations: 4 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.072e-05/0.006446, allocations: 4 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.00675, allocations: 340.2 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.006881, allocations: 39 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.006898, allocations: 19.77 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.006921, allocations: 7.938 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.006941, allocations: 37.39 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.006943, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002968/0.007239, allocations: 117.3 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.007265, allocations: 51.41 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.007624, allocations: 0.6001 MB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.007636, allocations: 25.7 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.007796, allocations: 306.7 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.007817, allocations: 11.84 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.007848, allocations: 31.31 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.008037, allocations: 0.5586 MB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.008048, allocations: 4 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.631e-05/0.008065, allocations: 4 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.008101, allocations: 27.61 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008102, allocations: 0 / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001016/0.008204, allocations: 97.34 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.008217, allocations: 4 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.008224, allocations: 3.984 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.008237, allocations: 0 / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.107e-05/0.008288, allocations: 12.25 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.008291, allocations: 0 / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.008318, allocations: 11.98 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.008322, allocations: 0 / 385.9 MB, free: 10.77 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 (5): * Single equations (assignments): 5 * 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.634e-05/0.008409, allocations: 160.5 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.008449, allocations: 55.61 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.00858, allocations: 89.23 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.008583, allocations: 0 / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.008585, allocations: 0 / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.008589, allocations: 0 / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.008902, allocations: 389.8 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.008905, allocations: 0 / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.008938, allocations: 8 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.008943, allocations: 7.984 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.008949, allocations: 0 / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.00895, allocations: 0 / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.008952, allocations: 0 / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.009095, allocations: 247.5 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.00912, allocations: 35.72 kB / 386.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.009134, allocations: 0 / 386.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.009171, allocations: 4 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.009195, allocations: 7.984 kB / 386.8 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.009199, allocations: 4 kB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.0094, allocations: 390.7 kB / 387.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.0094, allocations: 0 / 387.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.009562, allocations: 27.94 kB / 387.3 MB, free: 9.305 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 (5): * Single equations (assignments): 5 * 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.000766/0.01033, allocations: 387.8 kB / 387.6 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.557e-05/0.0104, allocations: 35.67 kB / 387.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.0104, allocations: 0 / 387.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.098e-05/0.01043, allocations: 19.62 kB / 387.7 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.01065, allocations: 33.12 kB / 387.7 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.01123, allocations: 0.5627 MB / 388.3 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.711e-05/0.01131, allocations: 119.2 kB / 388.4 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.261e-05/0.01134, allocations: 15.97 kB / 388.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.0114, allocations: 78.2 kB / 388.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0114, allocations: 0 / 388.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of Templates: time 0.003842/0.01524, allocations: 1.49 MB / 390 MB, free: 6.664 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.175373296253383]