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.00141/0.00141, allocations: 104 kB / 15.98 MB, free: 6.348 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.001863/0.001863, allocations: 202.9 kB / 16.91 MB, free: 6.191 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.393/1.393, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.3327/0.3327, allocations: 43.5 MB / 313.6 MB, free: 8.281 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.0014/0.0014, allocations: 63.91 kB / 382.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 57.79 MB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01236/0.1205, allocations: 11.26 MB / 451.4 MB, free: 3.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2226/0.3431, allocations: 14.18 MB / 465.5 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.3434, allocations: 0 / 465.5 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.3438, allocations: 62.97 kB / 465.6 MB, free: 36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008941/0.3527, allocations: 2.772 MB / 468.4 MB, free: 35.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.3531, allocations: 143.7 kB / 468.5 MB, free: 34.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004818/0.3579, allocations: 4.187 MB / 472.7 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.439e-05/0.358, allocations: 19.67 kB / 472.7 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.3582, allocations: 145.4 kB / 472.9 MB, free: 34.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008781/0.367, allocations: 7.728 MB / 480.6 MB, free: 32.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.495e-05/0.3671, allocations: 9.062 kB / 480.6 MB, free: 32.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005785/0.3728, allocations: 2.13 MB / 482.7 MB, free: 32.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.805e-05/0.373, allocations: 45.47 kB / 482.8 MB, free: 32.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.3732, allocations: 128.9 kB / 482.9 MB, free: 32.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00433/0.3775, allocations: 1.546 MB / 484.5 MB, free: 31.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3775, allocations: 4.375 kB / 484.5 MB, free: 31.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3775, allocations: 0 / 484.5 MB, free: 31.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3776, allocations: 3.938 kB / 484.5 MB, free: 31.61 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.002222/0.3798, allocations: 0.9259 MB / 485.4 MB, free: 30.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3798, allocations: 13.58 kB / 485.4 MB, free: 30.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.766e-05/0.3799, allocations: 66.81 kB / 485.5 MB, free: 30.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005895/0.3805, allocations: 80.08 kB / 485.5 MB, free: 30.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.3808, allocations: 243.1 kB / 485.8 MB, free: 30.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.3808, allocations: 24 kB / 485.8 MB, free: 30.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.3809, allocations: 28.81 kB / 485.8 MB, free: 30.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009578/0.3818, allocations: 485.7 kB / 486.3 MB, free: 30.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3818, allocations: 7.938 kB / 486.3 MB, free: 30.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.3819, allocations: 12.16 kB / 486.3 MB, free: 30.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3819, allocations: 7.281 kB / 486.3 MB, free: 30.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.3831, allocations: 0.6799 MB / 487 MB, free: 30.25 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.007437/0.3905, allocations: 4.297 MB / 491.3 MB, free: 27.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.3912, allocations: 165.2 kB / 491.5 MB, free: 27.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.3913, allocations: 62.36 kB / 491.5 MB, free: 27.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03092/0.4222, allocations: 16.41 MB / 0.496 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009812/0.4233, allocations: 323.7 kB / 0.4963 GB, free: 14.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.4233, allocations: 0 / 0.4963 GB, free: 14.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001504/0.4248, allocations: 437 kB / 0.4968 GB, free: 14.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/0.425, allocations: 478.8 kB / 0.4972 GB, free: 13.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.4252, allocations: 191.3 kB / 0.4974 GB, free: 13.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.4253, allocations: 32.8 kB / 0.4974 GB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.4254, allocations: 182.7 kB / 0.4976 GB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.4255, allocations: 104.9 kB / 0.4977 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.4256, allocations: 89.67 kB / 0.4978 GB, free: 13.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.4258, allocations: 332.3 kB / 0.4981 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.4259, allocations: 64.2 kB / 0.4982 GB, free: 13.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.4262, allocations: 315.3 kB / 0.4985 GB, free: 12.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.4267, allocations: 424.1 kB / 0.4989 GB, free: 12.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.457e-06/0.4267, allocations: 4.406 kB / 0.4989 GB, free: 12.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000723/0.4275, allocations: 407.6 kB / 0.4993 GB, free: 12.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.4275, allocations: 9.25 kB / 0.4993 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.4275, allocations: 9.219 kB / 0.4993 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/0.4276, allocations: 10.72 kB / 0.4993 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.4279, allocations: 106.1 kB / 0.4994 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.4279, allocations: 17.28 kB / 0.4994 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.4282, allocations: 52.16 kB / 0.4995 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/0.4283, allocations: 31.89 kB / 0.4995 GB, free: 12.01 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.0001328/0.4285, allocations: 171.6 kB / 0.4997 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/0.4285, allocations: 22.84 kB / 0.4997 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.4296, allocations: 0.7868 MB / 0.5004 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.4296, allocations: 4.688 kB / 0.5004 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.4296, allocations: 2.031 kB / 0.5005 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4297, allocations: 6.188 kB / 0.5005 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.4308, allocations: 1.214 MB / 0.5016 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.4308, allocations: 2 kB / 0.5016 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.4309, allocations: 34.27 kB / 0.5017 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.431, allocations: 7.656 kB / 0.5017 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.431, allocations: 11.34 kB / 0.5017 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.431, allocations: 4.219 kB / 0.5017 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.431, allocations: 2.406 kB / 0.5017 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.4314, allocations: 380.3 kB / 0.5021 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.4315, allocations: 100.3 kB / 0.5022 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/0.4316, allocations: 48.03 kB / 0.5022 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.4318, allocations: 8.766 kB / 0.5022 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.4318, allocations: 20.05 kB / 0.5022 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.4319, allocations: 13.39 kB / 0.5022 GB, free: 9.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000319/0.4322, allocations: 297.8 kB / 0.5025 GB, free: 9.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4322, allocations: 0 / 0.5025 GB, free: 9.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001905/0.4341, allocations: 424.3 kB / 0.5029 GB, free: 9.715 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.00195/0.4361, allocations: 1.436 MB / 0.5043 GB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004288/0.4365, allocations: 244.8 kB / 0.5046 GB, free: 8.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.4365, allocations: 0.8438 kB / 0.5046 GB, free: 8.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.4366, allocations: 84.42 kB / 0.5047 GB, free: 8.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.4374, allocations: 113.1 kB / 0.5048 GB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.578/2.015, allocations: 0.5822 GB / 1.087 GB, free: 85.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/2.016, allocations: 0.8126 MB / 1.088 GB, free: 85.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005587/2.016, allocations: 162 kB / 1.088 GB, free: 84.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/2.016, allocations: 151.4 kB / 1.088 GB, free: 84.84 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/2.016, allocations: 0 / 1.088 GB, free: 84.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/2.052, allocations: 18.2 MB / 1.106 GB, free: 66.77 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/2.052, allocations: 235 kB / 1.106 GB, free: 66.51 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.755/4.807, allocations: 4.062 kB / 1.106 GB, free: 66.51 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