Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 210.7 kB / 23.74 MB, free: 4.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 44.9 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 63.91 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3972, allocations: 65.47 MB / 0.5571 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01376/0.4109, allocations: 11.37 MB / 0.5682 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.4258, allocations: 11.87 MB / 0.5798 GB, free: 416 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.426, allocations: 3.938 kB / 0.5798 GB, free: 412 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.4264, allocations: 67.56 kB / 0.5798 GB, free: 344 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.4389, allocations: 3.15 MB / 0.5829 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.4394, allocations: 147.1 kB / 0.5831 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006866/0.4463, allocations: 3.967 MB / 0.5869 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.4464, allocations: 12.58 kB / 0.5869 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.4466, allocations: 147.5 kB / 0.5871 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0105/0.4571, allocations: 7.254 MB / 0.5942 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.4572, allocations: 8 kB / 0.5942 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005806/0.463, allocations: 2.431 MB / 0.5965 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.847e-05/0.4631, allocations: 47.77 kB / 0.5966 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.4633, allocations: 123.4 kB / 0.5967 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004297/0.4676, allocations: 1.722 MB / 0.5984 GB, free: 13.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4676, allocations: 0 / 0.5984 GB, free: 13.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4676, allocations: 0 / 0.5984 GB, free: 13.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.4676, allocations: 0 / 0.5984 GB, free: 13.31 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002254/0.4698, allocations: 0.9126 MB / 0.5993 GB, free: 12.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4699, allocations: 12.03 kB / 0.5993 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.24e-05/0.4699, allocations: 58.73 kB / 0.5994 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000555/0.4705, allocations: 84.72 kB / 0.5994 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.4709, allocations: 194.1 kB / 0.5996 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.4709, allocations: 21.03 kB / 0.5996 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.4709, allocations: 24.38 kB / 0.5997 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.4719, allocations: 0.4907 MB / 0.6001 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4719, allocations: 0 / 0.6001 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.472, allocations: 12 kB / 0.6002 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.472, allocations: 8 kB / 0.6002 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.4731, allocations: 0.6965 MB / 0.6008 GB, free: 10.7 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006614/0.4797, allocations: 2.781 MB / 0.6036 GB, free: 7.801 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006851/0.4804, allocations: 199.3 kB / 0.6037 GB, free: 7.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.4805, allocations: 81.31 kB / 0.6038 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07874/0.5593, allocations: 22.12 MB / 0.6254 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008359/0.5601, allocations: 350.7 kB / 0.6258 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.276e-06/0.5601, allocations: 0 / 0.6258 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.00279/0.5629, allocations: 0.8821 MB / 0.6266 GB, free: 56 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003014/0.5632, allocations: 474.6 kB / 0.6271 GB, free: 15.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.5634, allocations: 158.1 kB / 0.6272 GB, free: 15.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.5634, allocations: 33.7 kB / 0.6273 GB, free: 15.28 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.5636, allocations: 176.5 kB / 0.6274 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.5637, allocations: 130.8 kB / 0.6275 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.5639, allocations: 94.12 kB / 0.6276 GB, free: 14.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.564, allocations: 326.8 kB / 0.6279 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.5642, allocations: 64.95 kB / 0.628 GB, free: 14.49 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.5645, allocations: 317.5 kB / 0.6283 GB, free: 14.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/0.5651, allocations: 440 kB / 0.6287 GB, free: 13.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.5652, allocations: 4 kB / 0.6287 GB, free: 13.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007982/0.566, allocations: 404.8 kB / 0.6291 GB, free: 13.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.566, allocations: 8.938 kB / 0.6291 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.566, allocations: 8 kB / 0.6291 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/0.566, allocations: 12 kB / 0.6291 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.5679, allocations: 351.5 kB / 0.6295 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000787/0.5687, allocations: 1.176 MB / 0.6306 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.569, allocations: 23.89 kB / 0.6307 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.569, allocations: 31.98 kB / 0.6307 GB, free: 11.46 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.5692, allocations: 157.8 kB / 0.6308 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.5693, allocations: 27.86 kB / 0.6309 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.5707, allocations: 0.985 MB / 0.6318 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.5707, allocations: 11.98 kB / 0.6318 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5707, allocations: 0 / 0.6318 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.5707, allocations: 4 kB / 0.6318 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.5722, allocations: 1.12 MB / 0.6329 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.5722, allocations: 8.031 kB / 0.6329 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.5733, allocations: 147.8 kB / 0.6331 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.5733, allocations: 8 kB / 0.6331 GB, free: 8.895 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.5733, allocations: 8 kB / 0.6331 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003873/0.5737, allocations: 0.5859 MB / 0.6337 GB, free: 8.277 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.5737, allocations: 4.031 kB / 0.6337 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.5745, allocations: 0.5347 MB / 0.6342 GB, free: 7.691 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.5745, allocations: 27.8 kB / 0.6342 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/0.5746, allocations: 51.5 kB / 0.6343 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.575, allocations: 15.98 kB / 0.6343 GB, free: 7.598 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.575, allocations: 27.89 kB / 0.6343 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.575, allocations: 8 kB / 0.6343 GB, free: 7.562 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003782/0.5754, allocations: 275.1 kB / 0.6346 GB, free: 7.293 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5754, allocations: 8 kB / 0.6346 GB, free: 7.285 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001909/0.5773, allocations: 470.5 kB / 0.635 GB, free: 6.824 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003151/0.5805, allocations: 1.664 MB / 0.6367 GB, free: 5.102 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.582, allocations: 394.8 kB / 0.637 GB, free: 4.715 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.582, allocations: 0 / 0.637 GB, free: 4.715 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007752/0.5828, allocations: 202.4 kB / 0.6372 GB, free: 4.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/0.5836, allocations: 126.6 kB / 0.6374 GB, free: 4.395 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.339/1.922, allocations: 0.54 GB / 1.177 GB, free: 26.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/1.923, allocations: 0.8195 MB / 1.178 GB, free: 25.78 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004198/1.923, allocations: 169.5 kB / 1.178 GB, free: 25.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/1.923, allocations: 159.4 kB / 1.179 GB, free: 25.49 MB / 0.6231 GB Notification: Performance of SimCode: time 1.994e-06/1.923, allocations: 0 / 1.179 GB, free: 25.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04816/1.971, allocations: 20.59 MB / 1.199 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/15.71, allocations: 3.375 kB / 1.199 GB, free: 5.133 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.11721672094427]