Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.001718/0.001718, allocations: 105.3 kB / 16.41 MB, free: 6.488 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.002015/0.002015, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.59/1.59, allocations: 205.1 MB / 223.2 MB, free: 12.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2317/0.2317, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001526/0.001526, allocations: 71.91 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1295, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01375/0.1432, allocations: 11.25 MB / 0.4984 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.1592, allocations: 14.28 MB / 0.5124 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.1595, allocations: 0 / 0.5124 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.16, allocations: 71.5 kB / 0.5124 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.1714, allocations: 3.117 MB / 0.5155 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.1719, allocations: 155.6 kB / 0.5156 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006686/0.1786, allocations: 3.897 MB / 0.5194 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.658e-05/0.1787, allocations: 12.41 kB / 0.5194 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.1791, allocations: 147.5 kB / 0.5196 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00985/0.1889, allocations: 7.122 MB / 0.5265 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.516e-05/0.189, allocations: 8 kB / 0.5265 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005942/0.195, allocations: 2.107 MB / 0.5286 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.1951, allocations: 51.75 kB / 0.5287 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.1953, allocations: 123.4 kB / 0.5288 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005044/0.2004, allocations: 1.532 MB / 0.5303 GB, free: 264 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2004, allocations: 0 / 0.5303 GB, free: 264 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.2004, allocations: 0 / 0.5303 GB, free: 264 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2004, allocations: 3.938 kB / 0.5303 GB, free: 260 kB / 414.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.2959/0.4964, allocations: 0.9168 MB / 0.5312 GB, free: 42.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.4964, allocations: 16.3 kB / 0.5312 GB, free: 42.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.368e-05/0.4965, allocations: 66.62 kB / 0.5312 GB, free: 42.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006283/0.4972, allocations: 73.67 kB / 0.5313 GB, free: 42.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.4975, allocations: 244 kB / 0.5315 GB, free: 42.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.4976, allocations: 25.09 kB / 0.5316 GB, free: 42.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.4976, allocations: 27.5 kB / 0.5316 GB, free: 42.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/0.4986, allocations: 482.4 kB / 0.5321 GB, free: 42.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4986, allocations: 7.875 kB / 0.5321 GB, free: 42.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.4986, allocations: 12.72 kB / 0.5321 GB, free: 42.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4986, allocations: 10.73 kB / 0.5321 GB, free: 42.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.4998, allocations: 0.6821 MB / 0.5328 GB, free: 42.46 MB / 414.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.006719/0.5066, allocations: 3.103 MB / 0.5358 GB, free: 40.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.5073, allocations: 214.3 kB / 0.536 GB, free: 40.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.5074, allocations: 79.7 kB / 0.5361 GB, free: 40.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07743/0.5848, allocations: 30.78 MB / 0.5661 GB, free: 22.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006844/0.5856, allocations: 337.2 kB / 0.5664 GB, free: 21.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.464e-06/0.5856, allocations: 0 / 0.5664 GB, free: 21.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.002775/0.5884, allocations: 0.964 MB / 0.5674 GB, free: 20.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.5885, allocations: 478.6 kB / 0.5678 GB, free: 20.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.5887, allocations: 164.3 kB / 0.568 GB, free: 20.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.5887, allocations: 33.7 kB / 0.568 GB, free: 20.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.5888, allocations: 167.8 kB / 0.5682 GB, free: 20.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/0.5888, allocations: 133.9 kB / 0.5683 GB, free: 19.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-05/0.589, allocations: 94.14 kB / 0.5684 GB, free: 19.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.589, allocations: 326.8 kB / 0.5687 GB, free: 19.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.5891, allocations: 73.08 kB / 0.5688 GB, free: 19.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.5894, allocations: 326.1 kB / 0.5691 GB, free: 18.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.5898, allocations: 444.1 kB / 0.5695 GB, free: 18.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5898, allocations: 4 kB / 0.5695 GB, free: 18.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006141/0.5904, allocations: 445.2 kB / 0.5699 GB, free: 17.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5904, allocations: 8 kB / 0.57 GB, free: 17.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5905, allocations: 8 kB / 0.57 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/0.5927, allocations: 325.4 kB / 0.5703 GB, free: 17.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.5929, allocations: 103.8 kB / 0.5704 GB, free: 17.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004754/0.5934, allocations: 1.215 MB / 0.5716 GB, free: 16.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.5936, allocations: 24.91 kB / 0.5716 GB, free: 16.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/0.5937, allocations: 39.98 kB / 0.5716 GB, free: 16.19 MB / 414.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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.5939, allocations: 157.5 kB / 0.5718 GB, free: 16.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.594, allocations: 31.8 kB / 0.5718 GB, free: 16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.595, allocations: 1.044 MB / 0.5728 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.5951, allocations: 8.094 kB / 0.5728 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5951, allocations: 3.938 kB / 0.5728 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.5951, allocations: 11.92 kB / 0.5728 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.5962, allocations: 1.547 MB / 0.5744 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.5963, allocations: 6.375 kB / 0.5744 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.5964, allocations: 39.97 kB / 0.5744 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.5975, allocations: 244.8 kB / 0.5746 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.5975, allocations: 4 kB / 0.5746 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004084/0.5979, allocations: 1.27 MB / 0.5759 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.598, allocations: 4.031 kB / 0.5759 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/0.5985, allocations: 0.5908 MB / 0.5765 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.5986, allocations: 112.6 kB / 0.5766 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.5986, allocations: 51.38 kB / 0.5766 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.5989, allocations: 11.98 kB / 0.5766 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.5989, allocations: 31.91 kB / 0.5767 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.5989, allocations: 16 kB / 0.5767 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.5992, allocations: 271.1 kB / 0.5769 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5992, allocations: 0 / 0.5769 GB, free: 10.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001428/0.6006, allocations: 439.6 kB / 0.5773 GB, free: 10.02 MB / 414.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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00186/0.6025, allocations: 1.701 MB / 0.579 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005723/0.6031, allocations: 384.1 kB / 0.5794 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6031, allocations: 4.312 kB / 0.5794 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.6033, allocations: 226 kB / 0.5796 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.6041, allocations: 130.5 kB / 0.5797 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.165/1.769, allocations: 0.4949 GB / 1.075 GB, free: 95.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/1.77, allocations: 0.8294 MB / 1.075 GB, free: 94.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004517/1.77, allocations: 166.8 kB / 1.076 GB, free: 94.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/1.77, allocations: 167.4 kB / 1.076 GB, free: 94.58 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/1.77, allocations: 0 / 1.076 GB, free: 94.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0444/1.815, allocations: 20.22 MB / 1.095 GB, free: 74.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/14.21, allocations: 15.81 kB / 1.095 GB, free: 74.41 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches