Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.00142/0.00142, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001604/0.001604, allocations: 208 kB / 23.74 MB, free: 4.66 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.2187/0.2187, allocations: 44.91 MB / 358.8 MB, free: 6.316 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_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.002016/0.002016, allocations: 67.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3707, allocations: 65.47 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.0165/0.3872, allocations: 11.38 MB / 0.5682 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.4026, allocations: 11.86 MB / 0.5798 GB, free: 440 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.4028, allocations: 4 kB / 0.5798 GB, free: 436 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.4031, allocations: 71.5 kB / 0.5798 GB, free: 364 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.4135, allocations: 3.134 MB / 0.5829 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.414, allocations: 159.4 kB / 0.5831 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006862/0.4208, allocations: 3.959 MB / 0.5869 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.4209, allocations: 16.58 kB / 0.5869 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.4212, allocations: 151.5 kB / 0.5871 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01199/0.4331, allocations: 7.25 MB / 0.5942 GB, free: 1.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.4332, allocations: 8 kB / 0.5942 GB, free: 1.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006771/0.44, allocations: 2.181 MB / 0.5963 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.4401, allocations: 39.83 kB / 0.5963 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.4403, allocations: 127.4 kB / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004114/0.4445, allocations: 1.547 MB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.4445, allocations: 0 / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4445, allocations: 0 / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.4445, allocations: 0 / 0.598 GB, free: 13.77 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.002129/0.4466, allocations: 0.8699 MB / 0.5988 GB, free: 12.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4466, allocations: 12.03 kB / 0.5988 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.742e-05/0.4467, allocations: 62.72 kB / 0.5989 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005671/0.4473, allocations: 80.72 kB / 0.599 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.4477, allocations: 190.2 kB / 0.5992 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.4477, allocations: 21.03 kB / 0.5992 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.4477, allocations: 28.38 kB / 0.5992 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000981/0.4487, allocations: 494.4 kB / 0.5997 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4487, allocations: 0 / 0.5997 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.4487, allocations: 16 kB / 0.5997 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4488, allocations: 8 kB / 0.5997 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.4499, allocations: 0.6966 MB / 0.6004 GB, free: 11.2 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.00699/0.4569, allocations: 3.061 MB / 0.6034 GB, free: 8.027 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.4574, allocations: 155.1 kB / 0.6035 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.152e-05/0.4575, allocations: 53.53 kB / 0.6036 GB, free: 7.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0252/0.4827, allocations: 7.679 MB / 0.6111 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009216/0.4836, allocations: 322 kB / 0.6114 GB, free: 15.72 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.825e-06/0.4837, allocations: 0 / 0.6114 GB, free: 15.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001537/0.4852, allocations: 446.3 kB / 0.6118 GB, free: 15.28 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004011/0.4856, allocations: 478.9 kB / 0.6123 GB, free: 14.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.4859, allocations: 190 kB / 0.6124 GB, free: 14.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.4859, allocations: 33.7 kB / 0.6125 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.4861, allocations: 192.1 kB / 0.6127 GB, free: 14.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.4862, allocations: 103.1 kB / 0.6127 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.4864, allocations: 94.06 kB / 0.6128 GB, free: 14.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4866, allocations: 330.8 kB / 0.6132 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.4867, allocations: 64.83 kB / 0.6132 GB, free: 13.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.4871, allocations: 310.8 kB / 0.6135 GB, free: 13.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006037/0.4877, allocations: 428.8 kB / 0.6139 GB, free: 12.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4877, allocations: 4 kB / 0.6139 GB, free: 12.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007127/0.4885, allocations: 405 kB / 0.6143 GB, free: 12.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.4885, allocations: 8 kB / 0.6143 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.4885, allocations: 8 kB / 0.6143 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.4885, allocations: 12 kB / 0.6143 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.4889, allocations: 108.5 kB / 0.6144 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.4889, allocations: 15.94 kB / 0.6145 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.4892, allocations: 51.67 kB / 0.6145 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.4892, allocations: 31.98 kB / 0.6145 GB, free: 12.08 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * 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.000201/0.4894, allocations: 153.6 kB / 0.6147 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/0.4895, allocations: 31.8 kB / 0.6147 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.4908, allocations: 0.8144 MB / 0.6155 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.4908, allocations: 11.98 kB / 0.6155 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4908, allocations: 4 kB / 0.6155 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.4908, allocations: 7.938 kB / 0.6155 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.4923, allocations: 0.8937 MB / 0.6164 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.4923, allocations: 128 / 0.6164 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.4925, allocations: 47.91 kB / 0.6164 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.4925, allocations: 3.938 kB / 0.6165 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.4925, allocations: 12 kB / 0.6165 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4925, allocations: 0 / 0.6165 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.4925, allocations: 7.938 kB / 0.6165 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.4931, allocations: 376.7 kB / 0.6168 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.4932, allocations: 27.73 kB / 0.6169 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.4933, allocations: 59.55 kB / 0.6169 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.4936, allocations: 8.031 kB / 0.6169 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.4936, allocations: 19.97 kB / 0.6169 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.4936, allocations: 8 kB / 0.6169 GB, free: 9.453 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004227/0.494, allocations: 294.9 kB / 0.6172 GB, free: 9.164 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.494, allocations: 0 / 0.6172 GB, free: 9.164 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002021/0.4961, allocations: 430.6 kB / 0.6176 GB, free: 8.742 MB / 462.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00232/0.4984, allocations: 1.454 MB / 0.6191 GB, free: 7.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005157/0.4989, allocations: 225.1 kB / 0.6193 GB, free: 7.012 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4989, allocations: 0 / 0.6193 GB, free: 7.012 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.499, allocations: 80.72 kB / 0.6194 GB, free: 6.934 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008005/0.4998, allocations: 108.4 kB / 0.6195 GB, free: 6.832 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.356/1.856, allocations: 0.5821 GB / 1.202 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/1.857, allocations: 0.8029 MB / 1.202 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005107/1.857, allocations: 171.1 kB / 1.202 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/1.857, allocations: 147.4 kB / 1.203 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of SimCode: time 1.292e-06/1.857, allocations: 0 / 1.203 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3401/2.197, allocations: 18.76 MB / 1.221 GB, free: 231.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/14.32, allocations: 7.219 kB / 1.221 GB, free: 231.6 MB / 0.6231 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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: 19.3429809929803]