Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001702/0.001702, allocations: 114.4 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.001927/0.001927, allocations: 187 kB / 18.71 MB, free: 4.344 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.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2365/0.2365, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4026, allocations: 60.82 MB / 0.5184 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002816/0.4055, allocations: 1.562 MB / 0.52 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006772/0.4062, allocations: 408.2 kB / 0.5204 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.4062, allocations: 1.438 kB / 0.5204 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.4064, allocations: 20.91 kB / 0.5204 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.4066, allocations: 37.89 kB / 0.5204 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.407, allocations: 113.6 kB / 0.5205 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.4071, allocations: 51.88 kB / 0.5206 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.836e-05/0.4072, allocations: 15.7 kB / 0.5206 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.4073, allocations: 23.88 kB / 0.5206 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.551e-05/0.4073, allocations: 20.42 kB / 0.5206 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.4074, allocations: 2.125 kB / 0.5206 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.182e-05/0.4075, allocations: 33.16 kB / 0.5207 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.4075, allocations: 15.81 kB / 0.5207 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.4075, allocations: 20.52 kB / 0.5207 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.4077, allocations: 77.89 kB / 0.5208 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4077, allocations: 0 / 0.5208 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4077, allocations: 4 kB / 0.5208 GB, free: 1.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.557e-06/0.4077, allocations: 0 / 0.5208 GB, free: 1.98 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.0003756/0.4081, allocations: 383.3 kB / 0.5211 GB, free: 1.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.4082, allocations: 9.219 kB / 0.5211 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.438e-05/0.4082, allocations: 32.47 kB / 0.5212 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.4082, allocations: 8.938 kB / 0.5212 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.4084, allocations: 193.2 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.4084, allocations: 2.562 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.4084, allocations: 1.531 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.4086, allocations: 59.11 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4086, allocations: 0 / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.4086, allocations: 3.938 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.4086, allocations: 1.156 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.411e-05/0.4087, allocations: 22.84 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.409, allocations: 288.7 kB / 0.5217 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.4093, allocations: 46.77 kB / 0.5218 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.4093, allocations: 18.03 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4094, allocations: 2.172 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.314e-05/0.4094, allocations: 31.31 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.4094, allocations: 0 / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005389/0.4099, allocations: 150.8 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.41, allocations: 52.44 kB / 0.522 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.4101, allocations: 157.1 kB / 0.5222 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.4101, allocations: 27.5 kB / 0.5222 GB, free: 0.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.4101, allocations: 96.44 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.4102, allocations: 11.53 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.4102, allocations: 19.41 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.4102, allocations: 327.5 kB / 0.5226 GB, free: 184 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.4103, allocations: 24.88 kB / 0.5227 GB, free: 176 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.4104, allocations: 21.61 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.4105, allocations: 54.86 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4106, allocations: 1.062 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001847/0.4107, allocations: 85.7 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4108, allocations: 8.688 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.4108, allocations: 0 / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4108, allocations: 1.719 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.4109, allocations: 11.48 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4109, allocations: 5.719 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.4109, allocations: 9.25 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.4109, allocations: 1.25 kB / 0.5228 GB, free: 88 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.995e-05/0.411, allocations: 116.8 kB / 0.523 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.4111, allocations: 8.609 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.4113, allocations: 102.9 kB / 0.5231 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4114, allocations: 3.984 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4114, allocations: 1.531 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4114, allocations: 4.594 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.4118, allocations: 349.3 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4118, allocations: 0.75 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.4119, allocations: 15.73 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4119, allocations: 1.828 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4119, allocations: 3.938 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4119, allocations: 1.312 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.412, allocations: 0.75 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.4122, allocations: 192.9 kB / 0.5236 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.4123, allocations: 83.27 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.4123, allocations: 13.84 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.4124, allocations: 4.938 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.4124, allocations: 3.672 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.4124, allocations: 1.094 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.4125, allocations: 123.1 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4125, allocations: 0 / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.4128, allocations: 12.08 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.001346/0.4141, allocations: 1.01 MB / 0.5248 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.4144, allocations: 61.41 kB / 0.5249 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4144, allocations: 0 / 0.5249 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-05/0.4145, allocations: 29.81 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.0004483/0.415, allocations: 26.02 kB / 0.5249 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.4171, allocations: 1.465 MB / 0.5264 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.4175, allocations: 0.6927 MB / 0.527 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.417e-05/0.4176, allocations: 14.58 kB / 0.5271 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.4177, allocations: 22.48 kB / 0.5271 GB, free: 12.41 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4177, allocations: 0 / 0.5271 GB, free: 12.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.4398, allocations: 2.554 MB / 0.5296 GB, free: 11.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.995, allocations: 8.484 kB / 0.5296 GB, free: 11.41 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches