Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001058/0.001058, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001081/0.001081, allocations: 169.9 kB / 24.91 MB, free: 9.195 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.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.2576/0.2576, allocations: 32.81 MB / 294.6 MB, free: 1.25 MB / 266.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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.054e-05, allocations: 2.969 kB / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003493/0.003524, allocations: 1.635 MB / 324.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.005555, allocations: 1.286 MB / 326.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.005624, allocations: 0 / 326.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.005876, allocations: 19.8 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004109/0.006286, allocations: 91.48 kB / 326.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.006563, allocations: 95.62 kB / 326.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.006795, allocations: 67.78 kB / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.006882, allocations: 11.97 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.58e-05/0.006958, allocations: 35.92 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.035e-05/0.007048, allocations: 31.89 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.007061, allocations: 4 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.007223, allocations: 83.88 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.007257, allocations: 15.94 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.007278, allocations: 15.92 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.007465, allocations: 139.5 kB / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.007468, allocations: 0 / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007469, allocations: 0 / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.007472, allocations: 0 / 326.8 MB, free: 6.148 MB / 298.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.0003126/0.007785, allocations: 301.5 kB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.007814, allocations: 8.031 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.007841, allocations: 8.922 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.007983, allocations: 129.7 kB / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.007992, allocations: 4.312 kB / 327.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.00801, allocations: 4.375 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.008113, allocations: 94.38 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.008121, allocations: 192 / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.008129, allocations: 4.125 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.008135, allocations: 4 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.008154, allocations: 7.984 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.008343, allocations: 167.7 kB / 327.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.008454, allocations: 38.55 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.287e-05/0.008467, allocations: 4.859 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.008482, allocations: 4 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.0085, allocations: 34.64 kB / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.008501, allocations: 0 / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002673/0.008768, allocations: 85.47 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.008801, allocations: 81.09 kB / 327.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.008896, allocations: 144.3 kB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/0.008905, allocations: 29.7 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.008933, allocations: 92.08 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.008949, allocations: 19.83 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.008975, allocations: 17.72 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.009043, allocations: 322.8 kB / 328.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.009053, allocations: 4 kB / 328.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.00908, allocations: 51.34 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.009112, allocations: 16.84 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.009113, allocations: 0 / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001171/0.00923, allocations: 53.62 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.009238, allocations: 8.031 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.009242, allocations: 0 / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.009251, allocations: 0 / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.671e-05/0.009287, allocations: 12.23 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.009291, allocations: 3.938 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.009311, allocations: 8 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.009316, allocations: 3.984 kB / 328.5 MB, free: 4.227 MB / 298.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 5.042e-05/0.009367, allocations: 116.7 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.009384, allocations: 11.92 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.442e-05/0.009458, allocations: 54.14 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.009459, allocations: 4 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.009462, allocations: 4 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.009464, allocations: 0 / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.009631, allocations: 210.8 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009633, allocations: 3.938 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.009655, allocations: 8 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.009657, allocations: 0 / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-06/0.009661, allocations: 0 / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.009662, allocations: 0 / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.009665, allocations: 7.984 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.357e-05/0.009729, allocations: 143.5 kB / 329 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.009744, allocations: 19.89 kB / 329.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.009755, allocations: 4 kB / 329.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.23e-05/0.009788, allocations: 3.984 kB / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.009806, allocations: 4 kB / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.009808, allocations: 0 / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.156e-05/0.00984, allocations: 38 kB / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00984, allocations: 0 / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000164/0.01, allocations: 43.8 kB / 329.2 MB, free: 3.504 MB / 298.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.001251/0.01125, allocations: 0.6244 MB / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.839e-05/0.01133, allocations: 28.84 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.01134, allocations: 4 kB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.749e-05/0.01135, allocations: 20.78 kB / 329.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.0115, allocations: 19.92 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.01174, allocations: 158.5 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.01177, allocations: 59.34 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.557e-05/0.01181, allocations: 11.98 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.01187, allocations: 71.36 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01187, allocations: 0 / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of Templates: time 0.003348/0.01522, allocations: 1.99 MB / 332.1 MB, free: 0.8008 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.035366939380765]