Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json 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/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/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 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 110.4 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 187.1 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2304/0.2304, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 67.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4285, allocations: 60.82 MB / 0.5184 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003453/0.432, allocations: 1.565 MB / 0.52 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007714/0.4328, allocations: 400.7 kB / 0.5204 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.4329, allocations: 1.406 kB / 0.5204 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.4331, allocations: 26.44 kB / 0.5204 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.4333, allocations: 35.92 kB / 0.5204 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.4336, allocations: 107.2 kB / 0.5205 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.4338, allocations: 55.03 kB / 0.5206 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.4339, allocations: 12.2 kB / 0.5206 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.4339, allocations: 26.98 kB / 0.5206 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.434, allocations: 21.2 kB / 0.5206 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.434, allocations: 2.469 kB / 0.5206 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.969e-05/0.4341, allocations: 33.38 kB / 0.5207 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.4342, allocations: 15.12 kB / 0.5207 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.4342, allocations: 24.55 kB / 0.5207 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.4344, allocations: 81.73 kB / 0.5208 GB, free: 1.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4344, allocations: 0 / 0.5208 GB, free: 1.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4344, allocations: 1.031 kB / 0.5208 GB, free: 1.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.4344, allocations: 0 / 0.5208 GB, free: 1.973 MB / 382.1 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.0004149/0.4348, allocations: 382.6 kB / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4349, allocations: 9.969 kB / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.4349, allocations: 32.56 kB / 0.5212 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.435, allocations: 8.156 kB / 0.5212 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.4351, allocations: 187 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.4352, allocations: 5.312 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.4352, allocations: 3.594 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.4353, allocations: 53.23 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4354, allocations: 0 / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.4354, allocations: 1.094 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.4354, allocations: 5.156 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.4355, allocations: 26.89 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.4359, allocations: 289.1 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.4361, allocations: 41.25 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.4362, allocations: 19.34 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4362, allocations: 3.938 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.4362, allocations: 32.27 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.4362, allocations: 0 / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000581/0.4368, allocations: 151.6 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.4369, allocations: 52.47 kB / 0.522 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.437, allocations: 159.4 kB / 0.5222 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.437, allocations: 26.22 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.4371, allocations: 97.52 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.4371, allocations: 11.75 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.4371, allocations: 23.75 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.4372, allocations: 323.3 kB / 0.5226 GB, free: 176 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-05/0.4373, allocations: 20.86 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.4373, allocations: 20.88 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.4375, allocations: 52.45 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4375, allocations: 0 / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001869/0.4377, allocations: 91.98 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4377, allocations: 5.906 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4377, allocations: 0.8125 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4377, allocations: 1.094 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.4378, allocations: 11.81 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4378, allocations: 4.969 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.4379, allocations: 8.547 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4379, allocations: 6.484 kB / 0.5228 GB, free: 80 kB / 382.1 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 9.84e-05/0.438, allocations: 121.6 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.438, allocations: 7.312 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.4383, allocations: 102.6 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4383, allocations: 0.9688 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4383, allocations: 0 / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4383, allocations: 9.734 kB / 0.5231 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.4388, allocations: 349.9 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4388, allocations: 0 / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.4389, allocations: 12.3 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.4389, allocations: 1.156 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.4389, allocations: 7.875 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4389, allocations: 1.859 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4389, allocations: 0 / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.4392, allocations: 186.3 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.4393, allocations: 83.25 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.4393, allocations: 9.344 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.4394, allocations: 4.734 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.4394, allocations: 3.141 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.4394, allocations: 2.438 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.4395, allocations: 119.2 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4395, allocations: 1.156 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.4398, allocations: 18.7 kB / 0.5238 GB, free: 15.2 MB / 398.1 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.00135/0.4411, allocations: 1.013 MB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.4413, allocations: 56.55 kB / 0.5249 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4414, allocations: 0 / 0.5249 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.7e-05/0.4415, allocations: 31.28 kB / 0.5249 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.4418, allocations: 17.62 kB / 0.5249 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.4436, allocations: 1.461 MB / 0.5264 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4439, allocations: 0.6967 MB / 0.527 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.284e-05/0.444, allocations: 12.08 kB / 0.5271 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.4441, allocations: 20.95 kB / 0.5271 GB, free: 12.41 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4441, allocations: 0 / 0.5271 GB, free: 12.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.4628, allocations: 2.573 MB / 0.5296 GB, free: 11.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/7.978, allocations: 7.172 kB / 0.5296 GB, free: 11.41 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches