Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008619/0.0008619, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.001932, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001581/0.002634, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9676/0.9676, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1761/1.144, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.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.1387/0.1387, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02078/0.1595, allocations: 12.54 MB / 284.5 MB, free: 9.703 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.551e-05, allocations: 5.406 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.00355/0.003576, allocations: 1.711 MB / 287.6 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.005354, allocations: 1.216 MB / 288.8 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.005423, allocations: 4 kB / 288.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.005573, allocations: 31.72 kB / 288.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.005764, allocations: 39.78 kB / 288.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.006236, allocations: 179.3 kB / 289 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.006406, allocations: 71.77 kB / 289.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.006508, allocations: 15.92 kB / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.006623, allocations: 51.89 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.006739, allocations: 19.92 kB / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.00676, allocations: 4 kB / 289.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.006921, allocations: 51.91 kB / 289.3 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.006983, allocations: 23.92 kB / 289.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.007009, allocations: 11.94 kB / 289.3 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.007198, allocations: 87.61 kB / 289.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.007211, allocations: 0 / 289.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.007212, allocations: 0 / 289.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.007222, allocations: 0 / 289.4 MB, free: 4.855 MB / 282.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.0004357/0.007658, allocations: 292.2 kB / 289.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.007695, allocations: 8.031 kB / 289.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.007736, allocations: 8.938 kB / 289.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.007902, allocations: 133.5 kB / 289.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.007914, allocations: 8.375 kB / 289.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.007935, allocations: 4.375 kB / 289.8 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.008085, allocations: 102.4 kB / 289.9 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.008094, allocations: 192 / 289.9 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.008106, allocations: 8.109 kB / 289.9 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.008113, allocations: 4 kB / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.008142, allocations: 11.98 kB / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.008432, allocations: 171 kB / 290.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.112e-05/0.008504, allocations: 34.62 kB / 290.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.008523, allocations: 12.86 kB / 290.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.008546, allocations: 4 kB / 290.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.008572, allocations: 34.5 kB / 290.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.008574, allocations: 3.938 kB / 290.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003775/0.008951, allocations: 109.5 kB / 290.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.008979, allocations: 55.34 kB / 290.4 MB, free: 3.746 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.009081, allocations: 130.7 kB / 290.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.009095, allocations: 29.7 kB / 290.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.009132, allocations: 92.08 kB / 290.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.009158, allocations: 23.78 kB / 290.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.009198, allocations: 25.7 kB / 290.7 MB, free: 3.422 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.009292, allocations: 322.8 kB / 291 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.009309, allocations: 4 kB / 291 MB, free: 3.094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.009347, allocations: 43.42 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/0.009391, allocations: 27.67 kB / 291 MB, free: 3.008 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.009394, allocations: 3.984 kB / 291 MB, free: 3.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.011e-05/0.009484, allocations: 61.55 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.009496, allocations: 4 kB / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.009501, allocations: 0 / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.009513, allocations: 0 / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.009606, allocations: 28.02 kB / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-06/0.009609, allocations: 0 / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.00964, allocations: 4 kB / 291.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.009647, allocations: 0 / 291.1 MB, free: 2.902 MB / 282.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 (7): * Single equations (assignments): 7 * 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.703e-05/0.009714, allocations: 116.7 kB / 291.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.009745, allocations: 11.94 kB / 291.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.009857, allocations: 62.05 kB / 291.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.009859, allocations: 0 / 291.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.009862, allocations: 4 kB / 291.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.009866, allocations: 3.984 kB / 291.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.01013, allocations: 231.1 kB / 291.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01014, allocations: 0 / 291.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.0102, allocations: 19.92 kB / 291.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.01021, allocations: 7.953 kB / 291.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01021, allocations: 0 / 291.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.01022, allocations: 0 / 291.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01022, allocations: 0 / 291.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01022, allocations: 0 / 291.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.01034, allocations: 163.4 kB / 291.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.01035, allocations: 0 / 291.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.01041, allocations: 12 kB / 291.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.01045, allocations: 11.98 kB / 291.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.01046, allocations: 0 / 291.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.618e-05/0.01049, allocations: 23.8 kB / 291.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01049, allocations: 0 / 291.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002346/0.01073, allocations: 27.92 kB / 291.8 MB, free: 2.168 MB / 282.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 (7): * Single equations (assignments): 7 * 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.001455/0.01218, allocations: 0.6094 MB / 292.4 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.814e-05/0.01227, allocations: 32.83 kB / 292.5 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.01228, allocations: 4 kB / 292.5 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.01231, allocations: 20.8 kB / 292.5 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.01249, allocations: 95.73 kB / 292.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.01292, allocations: 196.1 kB / 292.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.087e-05/0.01297, allocations: 63.34 kB / 292.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.339e-05/0.01302, allocations: 19.92 kB / 292.9 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.01308, allocations: 67.3 kB / 292.9 MB, free: 1.297 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01308, allocations: 4 kB / 292.9 MB, free: 1.293 MB / 282.7 MB Notification: Performance of Templates: time 0.003227/0.01631, allocations: 1.705 MB / 294.6 MB, free: 15.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.841611284762621]