Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.0008779/0.0008781, allocations: 97.17 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 177 kB / 16.92 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 223.1 MB, free: 5.223 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3592/0.3592, allocations: 43.58 MB / 315 MB, free: 9.215 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005771/0.0005773, allocations: 20 kB / 384.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.126, allocations: 58.86 MB / 443.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01242/0.1384, allocations: 10.99 MB / 454.5 MB, free: 1.754 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2125/0.351, allocations: 14.34 MB / 468.9 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.3512, allocations: 0 / 468.9 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.3515, allocations: 61.45 kB / 468.9 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009369/0.3609, allocations: 2.632 MB / 471.6 MB, free: 34.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.3613, allocations: 147.8 kB / 471.7 MB, free: 34.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004948/0.3663, allocations: 4.145 MB / 475.9 MB, free: 33.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.196e-05/0.3664, allocations: 17.28 kB / 475.9 MB, free: 33.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3665, allocations: 142.6 kB / 476 MB, free: 33.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008772/0.3753, allocations: 7.569 MB / 483.6 MB, free: 32.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.3754, allocations: 5.938 kB / 483.6 MB, free: 32.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004903/0.3803, allocations: 2.108 MB / 485.7 MB, free: 32.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.957e-05/0.3804, allocations: 41.42 kB / 485.7 MB, free: 32.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.3806, allocations: 150.9 kB / 485.9 MB, free: 32.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006197/0.3868, allocations: 1.531 MB / 487.4 MB, free: 31.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.3869, allocations: 0 / 487.4 MB, free: 31.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.638e-06/0.3869, allocations: 0 / 487.4 MB, free: 31.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.3869, allocations: 4 kB / 487.4 MB, free: 31.79 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00348/0.3904, allocations: 0.8577 MB / 488.3 MB, free: 31.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/0.3905, allocations: 10.94 kB / 488.3 MB, free: 31.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.306e-05/0.3906, allocations: 62.56 kB / 488.4 MB, free: 31.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006098/0.3912, allocations: 82.97 kB / 488.4 MB, free: 31.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.3916, allocations: 244.7 kB / 488.7 MB, free: 30.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.3916, allocations: 25.28 kB / 488.7 MB, free: 30.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.3917, allocations: 25.75 kB / 488.7 MB, free: 30.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.3929, allocations: 485.6 kB / 489.2 MB, free: 30.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3929, allocations: 6.094 kB / 489.2 MB, free: 30.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.3929, allocations: 10.78 kB / 489.2 MB, free: 30.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.393, allocations: 7.625 kB / 489.2 MB, free: 30.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.3942, allocations: 0.6828 MB / 489.9 MB, free: 30.46 MB / 382.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.006884/0.4011, allocations: 4.291 MB / 494.2 MB, free: 27.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.4017, allocations: 164.6 kB / 494.4 MB, free: 27.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.179e-05/0.4018, allocations: 62.75 kB / 494.4 MB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02594/0.4277, allocations: 16.37 MB / 0.4988 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006116/0.4284, allocations: 322.9 kB / 0.4991 GB, free: 14.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.956e-06/0.4284, allocations: 2.719 kB / 0.4991 GB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001272/0.4296, allocations: 441.7 kB / 0.4996 GB, free: 14.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.945e-05/0.4298, allocations: 480.9 kB / 0.5 GB, free: 14.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.4299, allocations: 195.4 kB / 0.5002 GB, free: 13.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.43, allocations: 32.08 kB / 0.5002 GB, free: 13.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/0.43, allocations: 184.8 kB / 0.5004 GB, free: 13.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.4301, allocations: 104.9 kB / 0.5005 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.4302, allocations: 38.55 kB / 0.5005 GB, free: 13.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.4302, allocations: 333.3 kB / 0.5009 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.4303, allocations: 63.23 kB / 0.5009 GB, free: 13.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.4305, allocations: 311.4 kB / 0.5012 GB, free: 12.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.4309, allocations: 432 kB / 0.5016 GB, free: 12.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4309, allocations: 6.625 kB / 0.5016 GB, free: 12.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005732/0.4315, allocations: 398.5 kB / 0.502 GB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4315, allocations: 8.781 kB / 0.502 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.4315, allocations: 8.812 kB / 0.502 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.4316, allocations: 15.19 kB / 0.502 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.4319, allocations: 106.5 kB / 0.5021 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.4319, allocations: 18.05 kB / 0.5022 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.4322, allocations: 52.09 kB / 0.5022 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.4322, allocations: 29.58 kB / 0.5022 GB, free: 12.27 MB / 382.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.0001318/0.4324, allocations: 166.4 kB / 0.5024 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.4324, allocations: 25.47 kB / 0.5024 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4335, allocations: 0.7856 MB / 0.5032 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.4335, allocations: 4.531 kB / 0.5032 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4335, allocations: 2.375 kB / 0.5032 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.4335, allocations: 7.531 kB / 0.5032 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.4346, allocations: 1.212 MB / 0.5044 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.4346, allocations: 2.062 kB / 0.5044 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.4347, allocations: 36.16 kB / 0.5044 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.4347, allocations: 7.906 kB / 0.5044 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.4348, allocations: 8.75 kB / 0.5044 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.4348, allocations: 3.562 kB / 0.5044 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4348, allocations: 2 kB / 0.5044 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.4351, allocations: 370 kB / 0.5048 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.4353, allocations: 216.6 kB / 0.505 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.4353, allocations: 12.19 kB / 0.505 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.4356, allocations: 12.3 kB / 0.505 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.4356, allocations: 19.64 kB / 0.505 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.4356, allocations: 12.09 kB / 0.5051 GB, free: 10.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.4359, allocations: 296.7 kB / 0.5053 GB, free: 9.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4359, allocations: 0 / 0.5053 GB, free: 9.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001546/0.4375, allocations: 418.3 kB / 0.5057 GB, free: 9.711 MB / 382.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.001769/0.4392, allocations: 1.447 MB / 0.5072 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.4396, allocations: 233.3 kB / 0.5074 GB, free: 8.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4396, allocations: 3.938 kB / 0.5074 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.977e-05/0.4397, allocations: 80.89 kB / 0.5075 GB, free: 8.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008791/0.4406, allocations: 107.9 kB / 0.5076 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.355/1.796, allocations: 0.58 GB / 1.088 GB, free: 87.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/1.796, allocations: 0.8164 MB / 1.088 GB, free: 86.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004732/1.797, allocations: 170.5 kB / 1.089 GB, free: 86.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/1.797, allocations: 147.4 kB / 1.089 GB, free: 86.58 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/1.797, allocations: 0 / 1.089 GB, free: 86.58 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/1.827, allocations: 17.91 MB / 1.106 GB, free: 68.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/1.827, allocations: 230.2 kB / 1.106 GB, free: 68.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/4.438, allocations: 0 / 1.106 GB, free: 68.54 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches