Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, 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.343/1.343, allocations: 222.9 MB / 241.6 MB, free: 10.96 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.00101/0.00101, allocations: 115.9 kB / 291.9 MB, free: 10.91 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.3637/0.3637, allocations: 44.13 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 51.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4077, allocations: 60.81 MB / 0.5064 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003995/0.4118, allocations: 2.017 MB / 0.5084 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.4135, allocations: 0.9517 MB / 0.5093 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.4138, allocations: 0 / 0.5093 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000558/0.4143, allocations: 249.1 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.4148, allocations: 187.7 kB / 0.5097 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.4164, allocations: 0.6145 MB / 0.5103 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.417, allocations: 298.9 kB / 0.5106 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.4172, allocations: 79.86 kB / 0.5107 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.4174, allocations: 119.1 kB / 0.5108 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.4177, allocations: 197 kB / 0.511 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.4177, allocations: 8.156 kB / 0.511 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.418, allocations: 82.84 kB / 0.5111 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.4181, allocations: 93.08 kB / 0.5111 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.4182, allocations: 118 kB / 0.5113 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.4186, allocations: 314.7 kB / 0.5116 GB, free: 35.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4187, allocations: 0 / 0.5116 GB, free: 35.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4187, allocations: 0 / 0.5116 GB, free: 35.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4187, allocations: 0 / 0.5116 GB, free: 35.28 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007514/0.4194, allocations: 0.6245 MB / 0.5122 GB, free: 34.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.4195, allocations: 8.5 kB / 0.5122 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.042e-05/0.4196, allocations: 40.75 kB / 0.5122 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.4199, allocations: 317.3 kB / 0.5125 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.4199, allocations: 11.38 kB / 0.5125 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.42, allocations: 14.83 kB / 0.5125 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.4202, allocations: 123.2 kB / 0.5127 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.4203, allocations: 2.938 kB / 0.5127 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4203, allocations: 0 / 0.5127 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.4203, allocations: 2.875 kB / 0.5127 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.4205, allocations: 102.6 kB / 0.5128 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006941/0.4212, allocations: 0.4914 MB / 0.5132 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.4214, allocations: 105.1 kB / 0.5133 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.4215, allocations: 39.39 kB / 0.5134 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.4215, allocations: 6.281 kB / 0.5134 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.4216, allocations: 39.72 kB / 0.5134 GB, free: 33.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.4216, allocations: 0 / 0.5134 GB, free: 33.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009687/0.4226, allocations: 433 kB / 0.5138 GB, free: 33.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.4226, allocations: 58.25 kB / 0.5139 GB, free: 33.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.4231, allocations: 0.5195 MB / 0.5144 GB, free: 33.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.4231, allocations: 32.77 kB / 0.5144 GB, free: 33.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.4233, allocations: 201.4 kB / 0.5146 GB, free: 33.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.4234, allocations: 49.53 kB / 0.5147 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.4234, allocations: 38.31 kB / 0.5147 GB, free: 33.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.4235, allocations: 348.9 kB / 0.515 GB, free: 32.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.4237, allocations: 61.33 kB / 0.5151 GB, free: 32.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.4238, allocations: 74.81 kB / 0.5152 GB, free: 32.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.4241, allocations: 156.2 kB / 0.5153 GB, free: 32.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4241, allocations: 4.906 kB / 0.5153 GB, free: 32.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003846/0.4245, allocations: 230 kB / 0.5155 GB, free: 32.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.4245, allocations: 6.594 kB / 0.5156 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4245, allocations: 4.906 kB / 0.5156 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4246, allocations: 1 kB / 0.5156 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.4247, allocations: 32.81 kB / 0.5156 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4247, allocations: 0.9375 kB / 0.5156 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.4248, allocations: 15.53 kB / 0.5156 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.4248, allocations: 7.938 kB / 0.5156 GB, free: 32.56 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 (17): * Single equations (assignments): 17 * 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.0001406/0.425, allocations: 181.2 kB / 0.5158 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.425, allocations: 39.27 kB / 0.5158 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004849/0.4255, allocations: 276.7 kB / 0.5161 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4255, allocations: 6.906 kB / 0.5161 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4256, allocations: 0 / 0.5161 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4256, allocations: 0 / 0.5161 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000774/0.4263, allocations: 0.6617 MB / 0.5167 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4264, allocations: 0 / 0.5167 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.4265, allocations: 39.91 kB / 0.5168 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.4265, allocations: 2.812 kB / 0.5168 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4265, allocations: 2.875 kB / 0.5168 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4265, allocations: 0 / 0.5168 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4265, allocations: 3.938 kB / 0.5168 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.4273, allocations: 1.037 MB / 0.5178 GB, free: 30.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.4274, allocations: 108.3 kB / 0.5179 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.4274, allocations: 2.562 kB / 0.5179 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.4275, allocations: 9.734 kB / 0.5179 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.4276, allocations: 11.08 kB / 0.5179 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.4276, allocations: 5.781 kB / 0.5179 GB, free: 30.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003617/0.428, allocations: 397.4 kB / 0.5183 GB, free: 30.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.428, allocations: 0 / 0.5183 GB, free: 30.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.4284, allocations: 49.69 kB / 0.5184 GB, free: 30.68 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 (17): * Single equations (assignments): 17 * 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.00151/0.4299, allocations: 0.6993 MB / 0.519 GB, free: 30.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.4303, allocations: 162.4 kB / 0.5192 GB, free: 30.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4303, allocations: 3.938 kB / 0.5192 GB, free: 30.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.4304, allocations: 90.05 kB / 0.5193 GB, free: 30.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.431, allocations: 76.77 kB / 0.5194 GB, free: 30.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.4321, allocations: 0.9573 MB / 0.5203 GB, free: 29.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.4324, allocations: 0.82 MB / 0.5211 GB, free: 28.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00015/0.4325, allocations: 55.94 kB / 0.5211 GB, free: 28.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.4326, allocations: 31.59 kB / 0.5212 GB, free: 28.94 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4326, allocations: 0 / 0.5212 GB, free: 28.94 MB / 378.7 MB Notification: Performance of Templates: time 0.006233/0.4389, allocations: 3.21 MB / 0.5243 GB, free: 28.58 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches