Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, 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.264/1.264, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.0009827/0.0009827, allocations: 107.5 kB / 291.9 MB, free: 10.94 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.3562/0.3562, allocations: 44.14 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001059, allocations: 51.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3519, allocations: 60.81 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003117/0.3551, allocations: 1.659 MB / 0.508 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007348/0.3559, allocations: 429 kB / 0.5084 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.3559, allocations: 2.812 kB / 0.5084 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.3565, allocations: 453.4 kB / 0.5089 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.3568, allocations: 237.5 kB / 0.5091 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.3571, allocations: 120.7 kB / 0.5092 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.3573, allocations: 152.9 kB / 0.5093 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.3574, allocations: 13.02 kB / 0.5094 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3575, allocations: 102.9 kB / 0.5095 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.3577, allocations: 209.4 kB / 0.5097 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.3577, allocations: 2.906 kB / 0.5097 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.418e-05/0.3578, allocations: 35.84 kB / 0.5097 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.3579, allocations: 77.41 kB / 0.5098 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.358, allocations: 100.9 kB / 0.5099 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.3582, allocations: 244.6 kB / 0.5101 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3582, allocations: 0 / 0.5101 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3582, allocations: 2.875 kB / 0.5101 GB, free: 36.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.3582, allocations: 0 / 0.5101 GB, free: 36.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006284/0.3589, allocations: 0.6335 MB / 0.5107 GB, free: 35.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3589, allocations: 8.656 kB / 0.5107 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.359, allocations: 38.12 kB / 0.5108 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.3592, allocations: 296.1 kB / 0.511 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3592, allocations: 384 / 0.511 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.3592, allocations: 3.281 kB / 0.5111 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.3594, allocations: 59.34 kB / 0.5111 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3594, allocations: 3.938 kB / 0.5111 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3594, allocations: 0 / 0.5111 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3594, allocations: 6.906 kB / 0.5111 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.008e-05/0.3595, allocations: 24.91 kB / 0.5111 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3599, allocations: 382.5 kB / 0.5115 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.3601, allocations: 44.3 kB / 0.5115 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.3602, allocations: 21.95 kB / 0.5116 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3602, allocations: 6.906 kB / 0.5116 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.3602, allocations: 30.56 kB / 0.5116 GB, free: 35.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.3602, allocations: 0 / 0.5116 GB, free: 35.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005547/0.3608, allocations: 221.3 kB / 0.5118 GB, free: 34.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.3608, allocations: 51.41 kB / 0.5119 GB, free: 34.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/0.3616, allocations: 0.8643 MB / 0.5127 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.3616, allocations: 25.7 kB / 0.5127 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3617, allocations: 215.5 kB / 0.5129 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.3617, allocations: 17.69 kB / 0.513 GB, free: 34.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.3618, allocations: 19.22 kB / 0.513 GB, free: 34.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.3619, allocations: 360.7 kB / 0.5133 GB, free: 34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.517e-05/0.3619, allocations: 19.36 kB / 0.5133 GB, free: 33.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-05/0.362, allocations: 21.22 kB / 0.5134 GB, free: 33.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.3621, allocations: 54.75 kB / 0.5134 GB, free: 33.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3621, allocations: 0 / 0.5134 GB, free: 33.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001843/0.3623, allocations: 110.9 kB / 0.5135 GB, free: 33.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3623, allocations: 3 kB / 0.5135 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.3624, allocations: 2.75 kB / 0.5135 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3624, allocations: 0 / 0.5135 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.3624, allocations: 15.2 kB / 0.5135 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3625, allocations: 6.609 kB / 0.5135 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/0.3625, allocations: 14 kB / 0.5136 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.3625, allocations: 0 / 0.5136 GB, free: 33.88 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 (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 0.0001411/0.3627, allocations: 212.5 kB / 0.5138 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.3628, allocations: 46.09 kB / 0.5138 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.363, allocations: 137.2 kB / 0.5139 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.363, allocations: 2.688 kB / 0.5139 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.363, allocations: 0 / 0.5139 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.363, allocations: 7.875 kB / 0.5139 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.3635, allocations: 455.8 kB / 0.5144 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3635, allocations: 0 / 0.5144 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.3636, allocations: 10.53 kB / 0.5144 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3636, allocations: 3.328 kB / 0.5144 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.3636, allocations: 10.66 kB / 0.5144 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3636, allocations: 0 / 0.5144 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3636, allocations: 0 / 0.5144 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.3642, allocations: 0.8627 MB / 0.5152 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.3642, allocations: 112.8 kB / 0.5154 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.3643, allocations: 1.469 kB / 0.5154 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.3644, allocations: 2.438 kB / 0.5154 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.3644, allocations: 5.969 kB / 0.5154 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.3644, allocations: 4.938 kB / 0.5154 GB, free: 32.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006202/0.365, allocations: 0.6429 MB / 0.516 GB, free: 32.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3651, allocations: 0 / 0.516 GB, free: 32.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000484/0.3655, allocations: 30.89 kB / 0.516 GB, free: 32.12 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 (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.0008535/0.3664, allocations: 398.5 kB / 0.5164 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.3666, allocations: 58.97 kB / 0.5165 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3666, allocations: 0 / 0.5165 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.3667, allocations: 26.73 kB / 0.5165 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.3671, allocations: 22.7 kB / 0.5165 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.3681, allocations: 0.9729 MB / 0.5175 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.3684, allocations: 0.8272 MB / 0.5183 GB, free: 30.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.3685, allocations: 5.75 kB / 0.5183 GB, free: 30.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.3685, allocations: 13.59 kB / 0.5183 GB, free: 30.62 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3685, allocations: 0 / 0.5183 GB, free: 30.62 MB / 378.7 MB Notification: Performance of Templates: time 0.004648/0.3732, allocations: 1.412 MB / 0.5197 GB, free: 30.44 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches