Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.0009578/0.0009578, allocations: 80.31 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.001175/0.001175, allocations: 172.4 kB / 25.61 MB, free: 8.902 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 0.9569/0.9569, allocations: 177.1 MB / 206 MB, free: 4.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.1452/0.1452, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.348e-05, allocations: 7.625 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.001934/0.001958, allocations: 1.685 MB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004695/0.002427, allocations: 0.8065 MB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.002462, allocations: 0 / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.002681, allocations: 27.84 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.002848, allocations: 47.7 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.856e-06/0.002851, allocations: 0 / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.002959, allocations: 35.83 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.171e-05/0.002991, allocations: 7.938 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.629e-05/0.003057, allocations: 19.92 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.013e-05/0.003077, allocations: 7.984 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.003086, allocations: 4 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.628e-05/0.003122, allocations: 11.98 kB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.003157, allocations: 19.94 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.429e-05/0.003171, allocations: 7.938 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.941e-05/0.003271, allocations: 47.83 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003272, allocations: 0 / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003273, allocations: 0 / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.003277, allocations: 0 / 382 MB, free: 20.66 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.0002019/0.003478, allocations: 404.2 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.003505, allocations: 11.97 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.00353, allocations: 8.891 kB / 382.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.928e-05/0.003619, allocations: 124.5 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.003627, allocations: 384 / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.003635, allocations: 16.34 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.041e-05/0.003715, allocations: 114.2 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.003722, allocations: 4.188 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.003728, allocations: 384 / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/0.003767, allocations: 24.36 kB / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.003788, allocations: 27.8 kB / 382.7 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.004068, allocations: 1.173 MB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.313e-05/0.004111, allocations: 269.4 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.004124, allocations: 126.9 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.004134, allocations: 119.2 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.004154, allocations: 160.6 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.004155, allocations: 4 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.928e-05/0.004204, allocations: 37.69 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.004235, allocations: 174.5 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.004336, allocations: 250.3 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-06/0.00434, allocations: 25.7 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.004386, allocations: 194.3 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.004388, allocations: 4 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.004427, allocations: 55.3 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.004493, allocations: 0.4962 MB / 385.8 MB, free: 16.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.004506, allocations: 15.98 kB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.607e-05/0.004552, allocations: 193.6 kB / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.925e-05/0.004641, allocations: 229.5 kB / 386.2 MB, free: 16.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.004644, allocations: 4 kB / 386.2 MB, free: 16.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001419/0.004786, allocations: 157.2 kB / 386.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.004796, allocations: 8 kB / 386.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.004803, allocations: 4.625 kB / 386.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.004814, allocations: 12 kB / 386.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.004885, allocations: 35.92 kB / 386.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.004891, allocations: 11.88 kB / 386.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.004938, allocations: 31.72 kB / 386.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.004947, allocations: 8 kB / 386.5 MB, free: 15.76 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.151e-05/0.004998, allocations: 295.6 kB / 386.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.005025, allocations: 152.8 kB / 386.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.00505, allocations: 160.6 kB / 387.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.005068, allocations: 264.1 kB / 387.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/0.005087, allocations: 276 kB / 387.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.005105, allocations: 272.1 kB / 387.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.73e-05/0.005202, allocations: 0.4888 MB / 388.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.005213, allocations: 148.8 kB / 388.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.005224, allocations: 144.9 kB / 388.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.346e-05/0.005247, allocations: 264.1 kB / 388.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.005268, allocations: 276 kB / 389.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.869e-05/0.005286, allocations: 272 kB / 389.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.096e-05/0.005307, allocations: 280 kB / 389.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.827e-05/0.005365, allocations: 447.9 kB / 390.2 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.005385, allocations: 156.8 kB / 390.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.005413, allocations: 268.1 kB / 390.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.005447, allocations: 152.8 kB / 390.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.00547, allocations: 268.1 kB / 391 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.005482, allocations: 152.9 kB / 391.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.748e-05/0.00552, allocations: 153.3 kB / 391.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00552, allocations: 3.938 kB / 391.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.005703, allocations: 15.94 kB / 391.3 MB, free: 10.76 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.0003329/0.006035, allocations: 308.2 kB / 391.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.605e-05/0.006122, allocations: 79.25 kB / 391.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.006123, allocations: 0 / 391.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.91e-07/0.006124, allocations: 4 kB / 391.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.006344, allocations: 0.7062 MB / 392.4 MB, free: 9.703 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001742/0.006519, allocations: 277.2 kB / 392.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.257e-05/0.006541, allocations: 67.84 kB / 392.7 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.877e-05/0.00659, allocations: 13.52 kB / 392.7 MB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.006616, allocations: 78.2 kB / 392.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006616, allocations: 0 / 392.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of Templates: time 0.001926/0.008542, allocations: 0.7944 MB / 393.6 MB, free: 8.445 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 2.909376382827759]