Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",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.001556/0.001556, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001433/0.001433, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.659/1.659, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2792/0.2792, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002119, allocations: 68.05 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.58/0.5822, allocations: 60.82 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003427/0.5857, allocations: 1.559 MB / 0.52 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.5867, allocations: 400.1 kB / 0.5203 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.5868, allocations: 5.188 kB / 0.5204 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.5871, allocations: 21.48 kB / 0.5204 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.5873, allocations: 40.06 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.5877, allocations: 88.05 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.588, allocations: 59.41 kB / 0.5206 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.5882, allocations: 11.02 kB / 0.5206 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.5883, allocations: 17.91 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.802e-05/0.5884, allocations: 21.47 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.5884, allocations: 2.094 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.5885, allocations: 33.89 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.5886, allocations: 14.28 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.5887, allocations: 20.69 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.5889, allocations: 82.03 kB / 0.5207 GB, free: 1.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.5889, allocations: 1.094 kB / 0.5207 GB, free: 1.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5889, allocations: 0 / 0.5207 GB, free: 1.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.589, allocations: 0 / 0.5207 GB, free: 1.766 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.0007459/0.5897, allocations: 378.1 kB / 0.5211 GB, free: 1.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.637e-05/0.5898, allocations: 10.84 kB / 0.5211 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.5899, allocations: 36.67 kB / 0.5212 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.5899, allocations: 8.203 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.5902, allocations: 190.6 kB / 0.5213 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.5902, allocations: 9.344 kB / 0.5213 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.5903, allocations: 6.469 kB / 0.5214 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.5905, allocations: 48.33 kB / 0.5214 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.5906, allocations: 0.6094 kB / 0.5214 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.5906, allocations: 1.219 kB / 0.5214 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.5906, allocations: 0 / 0.5214 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.5907, allocations: 23.28 kB / 0.5214 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.5911, allocations: 272.3 kB / 0.5217 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.5913, allocations: 56.12 kB / 0.5217 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.5913, allocations: 14.56 kB / 0.5218 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.5914, allocations: 0.9688 kB / 0.5218 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.5914, allocations: 32.38 kB / 0.5218 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.5914, allocations: 3.938 kB / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006038/0.592, allocations: 143.8 kB / 0.5219 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.592, allocations: 52.56 kB / 0.522 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.5922, allocations: 151.4 kB / 0.5221 GB, free: 456 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.5922, allocations: 25.7 kB / 0.5221 GB, free: 424 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.5923, allocations: 98.73 kB / 0.5222 GB, free: 328 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.5923, allocations: 18.7 kB / 0.5223 GB, free: 312 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.5923, allocations: 22.55 kB / 0.5223 GB, free: 288 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5924, allocations: 324.3 kB / 0.5226 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.5925, allocations: 14.59 kB / 0.5226 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.5926, allocations: 22.7 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.5927, allocations: 51.39 kB / 0.5227 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5927, allocations: 0 / 0.5227 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002076/0.593, allocations: 80.17 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.593, allocations: 6.406 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.593, allocations: 0 / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.593, allocations: 1.188 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.5931, allocations: 11.8 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.5931, allocations: 1.062 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.5932, allocations: 7.859 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.5932, allocations: 2.891 kB / 0.5228 GB, free: 15.88 MB / 398.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 0.0001318/0.5933, allocations: 124.7 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.5934, allocations: 7.609 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.5936, allocations: 90.27 kB / 0.523 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5936, allocations: 0 / 0.523 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5937, allocations: 0 / 0.523 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.5937, allocations: 6.562 kB / 0.523 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005755/0.5942, allocations: 345.7 kB / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.5943, allocations: 4.922 kB / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.5944, allocations: 15.78 kB / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5944, allocations: 0.5156 kB / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.5944, allocations: 8.875 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.5944, allocations: 1.969 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5944, allocations: 0 / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.5947, allocations: 176.3 kB / 0.5235 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.5947, allocations: 92.12 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.5948, allocations: 5 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.5948, allocations: 5.469 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.5949, allocations: 4.75 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.5949, allocations: 0 / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.637e-05/0.595, allocations: 122.3 kB / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.595, allocations: 0 / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00023/0.5952, allocations: 15.72 kB / 0.5238 GB, free: 15 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.001978/0.5972, allocations: 1.001 MB / 0.5247 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.5974, allocations: 51.2 kB / 0.5248 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.5974, allocations: 5.188 kB / 0.5248 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.5975, allocations: 22.94 kB / 0.5248 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.5979, allocations: 17.38 kB / 0.5248 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.5999, allocations: 1.45 MB / 0.5262 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.6005, allocations: 0.6988 MB / 0.5269 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.6006, allocations: 10.22 kB / 0.5269 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.6007, allocations: 22.06 kB / 0.527 GB, free: 12.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6007, allocations: 0 / 0.527 GB, free: 12.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.6298, allocations: 2.507 MB / 0.5294 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.205/9.835, allocations: 6.391 kB / 0.5294 GB, free: 11.3 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches