Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009855/0.0009856, allocations: 106.4 kB / 291.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3344/0.3344, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 47.92 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3789, allocations: 60.8 MB / 0.5064 GB, free: 38.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003092/0.382, allocations: 1.647 MB / 0.508 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007816/0.3828, allocations: 413.6 kB / 0.5084 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.3829, allocations: 0 / 0.5084 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.3835, allocations: 449.9 kB / 0.5088 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.3838, allocations: 241.4 kB / 0.509 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.3841, allocations: 121.1 kB / 0.5092 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.3843, allocations: 151.1 kB / 0.5093 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3844, allocations: 9.75 kB / 0.5093 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3846, allocations: 105.8 kB / 0.5094 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.3848, allocations: 203.2 kB / 0.5096 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.3848, allocations: 2.906 kB / 0.5096 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.167e-05/0.3849, allocations: 22.88 kB / 0.5096 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.385, allocations: 81.84 kB / 0.5097 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.3851, allocations: 100.3 kB / 0.5098 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.3854, allocations: 228.4 kB / 0.51 GB, free: 36.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3854, allocations: 0 / 0.51 GB, free: 36.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3854, allocations: 3.938 kB / 0.51 GB, free: 36.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3854, allocations: 4 kB / 0.51 GB, free: 36.56 MB / 378.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.0006809/0.3861, allocations: 0.6334 MB / 0.5107 GB, free: 36.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3861, allocations: 8.781 kB / 0.5107 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.3862, allocations: 41.91 kB / 0.5107 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.3865, allocations: 286.9 kB / 0.511 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3865, allocations: 384 / 0.511 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.3865, allocations: 3.125 kB / 0.511 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3867, allocations: 62.62 kB / 0.511 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3867, allocations: 0 / 0.511 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.3867, allocations: 0 / 0.511 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.3867, allocations: 0 / 0.511 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.3869, allocations: 34.56 kB / 0.5111 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.3873, allocations: 370.2 kB / 0.5114 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3874, allocations: 45.31 kB / 0.5115 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.3875, allocations: 28.25 kB / 0.5115 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3875, allocations: 3.938 kB / 0.5115 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.3875, allocations: 34.5 kB / 0.5115 GB, free: 35.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.3875, allocations: 0 / 0.5115 GB, free: 35.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002994/0.3878, allocations: 117.7 kB / 0.5116 GB, free: 35.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.3879, allocations: 53.84 kB / 0.5117 GB, free: 35.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007291/0.3886, allocations: 0.8506 MB / 0.5125 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.3886, allocations: 25.7 kB / 0.5125 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3887, allocations: 211.9 kB / 0.5127 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.3888, allocations: 17.94 kB / 0.5128 GB, free: 34.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.3888, allocations: 16.72 kB / 0.5128 GB, free: 34.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.3889, allocations: 364.9 kB / 0.5131 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.389, allocations: 19.92 kB / 0.5131 GB, free: 34.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.725e-05/0.389, allocations: 11.61 kB / 0.5132 GB, free: 34.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.3891, allocations: 43.09 kB / 0.5132 GB, free: 34.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3891, allocations: 0 / 0.5132 GB, free: 34.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001763/0.3893, allocations: 102.7 kB / 0.5133 GB, free: 34.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3894, allocations: 3.062 kB / 0.5133 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3894, allocations: 4 kB / 0.5133 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3894, allocations: 3 kB / 0.5133 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.3895, allocations: 9.594 kB / 0.5133 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3895, allocations: 0 / 0.5133 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.3895, allocations: 4.078 kB / 0.5133 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3896, allocations: 0 / 0.5133 GB, free: 34.15 MB / 378.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 (3): * Single equations (assignments): 3 * 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 0.0001585/0.3897, allocations: 220.5 kB / 0.5135 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.3898, allocations: 41.14 kB / 0.5136 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.39, allocations: 120.8 kB / 0.5137 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.39, allocations: 2.688 kB / 0.5137 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.39, allocations: 0 / 0.5137 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.39, allocations: 0 / 0.5137 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.3903, allocations: 280.5 kB / 0.514 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3903, allocations: 0 / 0.514 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.3903, allocations: 10.72 kB / 0.514 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3903, allocations: 0 / 0.514 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3903, allocations: 4 kB / 0.514 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3903, allocations: 4 kB / 0.514 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3904, allocations: 2.406 kB / 0.514 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.3908, allocations: 0.8437 MB / 0.5148 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.3909, allocations: 106 kB / 0.5149 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.3909, allocations: 5.219 kB / 0.5149 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.391, allocations: 10.03 kB / 0.5149 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.391, allocations: 5.219 kB / 0.5149 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.391, allocations: 1.062 kB / 0.5149 GB, free: 32.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000612/0.3916, allocations: 0.6505 MB / 0.5156 GB, free: 32.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3917, allocations: 0 / 0.5156 GB, free: 32.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003459/0.392, allocations: 15.94 kB / 0.5156 GB, free: 32.53 MB / 378.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 (3): * Single equations (assignments): 3 * 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.0008114/0.3928, allocations: 360.1 kB / 0.5159 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.393, allocations: 39.55 kB / 0.516 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.393, allocations: 0 / 0.516 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.3931, allocations: 23.89 kB / 0.516 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.3935, allocations: 29.47 kB / 0.516 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009633/0.3945, allocations: 0.9389 MB / 0.5169 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.3947, allocations: 0.8212 MB / 0.5177 GB, free: 31.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.759e-05/0.3948, allocations: 9.391 kB / 0.5177 GB, free: 31.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.3948, allocations: 16.86 kB / 0.5177 GB, free: 31.07 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3948, allocations: 0 / 0.5177 GB, free: 31.07 MB / 378.7 MB Notification: Performance of Templates: time 0.005581/0.4004, allocations: 1.254 MB / 0.519 GB, free: 30.9 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches