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.001265/0.001265, allocations: 102.9 kB / 16.27 MB, free: 5.961 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.001138/0.001138, allocations: 187.6 kB / 17.19 MB, free: 5.609 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.386/1.386, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2246/0.2246, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001831/0.001831, allocations: 63.97 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.116, allocations: 57.79 MB / 440.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01259/0.1287, allocations: 11.24 MB / 451.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01715/0.1459, allocations: 14.27 MB / 466.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.1462, allocations: 4 kB / 466.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.1467, allocations: 67.5 kB / 466.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01253/0.1593, allocations: 3.101 MB / 469.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.1598, allocations: 163.5 kB / 469.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006087/0.1659, allocations: 3.897 MB / 473.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.166, allocations: 20.39 kB / 473.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.1664, allocations: 143.5 kB / 473.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.1768, allocations: 7.122 MB / 480.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.177, allocations: 12 kB / 480.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00797/0.185, allocations: 2.061 MB / 482.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.1852, allocations: 55.69 kB / 482.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.1855, allocations: 127.4 kB / 482.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005878/0.1914, allocations: 1.532 MB / 484.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1915, allocations: 0 / 484.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1915, allocations: 0 / 484.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.1915, allocations: 0 / 484.4 MB, free: 10.89 MB / 366.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.003135/0.1946, allocations: 0.9165 MB / 485.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1947, allocations: 15.89 kB / 485.4 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.828e-05/0.1948, allocations: 62.72 kB / 485.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007013/0.1955, allocations: 80.59 kB / 485.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.1958, allocations: 248 kB / 485.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.1959, allocations: 24.94 kB / 485.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.1959, allocations: 24.38 kB / 485.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.197, allocations: 485.4 kB / 486.3 MB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.197, allocations: 4 kB / 486.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.1971, allocations: 8 kB / 486.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1971, allocations: 8 kB / 486.3 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1983, allocations: 0.6812 MB / 487 MB, free: 8.219 MB / 366.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.006988/0.2053, allocations: 3.107 MB / 490.1 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006951/0.206, allocations: 219.3 kB / 490.3 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.2061, allocations: 73.39 kB / 490.4 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08391/0.29, allocations: 30.78 MB / 0.5089 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009609/0.291, allocations: 337.8 kB / 0.5092 GB, free: 3.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 7.374e-06/0.2911, allocations: 0 / 0.5092 GB, free: 3.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003568/0.2947, allocations: 0.9791 MB / 0.5102 GB, free: 2.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002878/0.295, allocations: 487.3 kB / 0.5107 GB, free: 1.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.2952, allocations: 156.1 kB / 0.5108 GB, free: 1.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.2953, allocations: 33.7 kB / 0.5108 GB, free: 1.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.2954, allocations: 159.9 kB / 0.511 GB, free: 1.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.2955, allocations: 142 kB / 0.5111 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.2957, allocations: 90.23 kB / 0.5112 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2958, allocations: 330.8 kB / 0.5115 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.296, allocations: 73.08 kB / 0.5116 GB, free: 0.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.2964, allocations: 322.1 kB / 0.5119 GB, free: 68 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/0.2971, allocations: 452.1 kB / 0.5123 GB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.2971, allocations: 4 kB / 0.5123 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009915/0.2981, allocations: 446.7 kB / 0.5128 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.2981, allocations: 8 kB / 0.5128 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.2982, allocations: 8 kB / 0.5128 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/0.3003, allocations: 329.8 kB / 0.5131 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.3006, allocations: 107.8 kB / 0.5132 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008377/0.3015, allocations: 1.215 MB / 0.5144 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.3017, allocations: 19.89 kB / 0.5144 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.3018, allocations: 35.94 kB / 0.5144 GB, free: 13.29 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.0002101/0.302, allocations: 157.6 kB / 0.5146 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.3021, allocations: 32 kB / 0.5146 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.3037, allocations: 1.052 MB / 0.5157 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.3037, allocations: 7.938 kB / 0.5157 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3037, allocations: 7.984 kB / 0.5157 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3037, allocations: 0 / 0.5157 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.3056, allocations: 1.56 MB / 0.5172 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.3056, allocations: 0 / 0.5172 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3058, allocations: 47.91 kB / 0.5172 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.3071, allocations: 237.6 kB / 0.5175 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.3071, allocations: 7.984 kB / 0.5175 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007739/0.3079, allocations: 1.273 MB / 0.5187 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.3079, allocations: 8 kB / 0.5187 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.3088, allocations: 0.5909 MB / 0.5193 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.309, allocations: 112.6 kB / 0.5194 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.3091, allocations: 47.44 kB / 0.5195 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.3094, allocations: 11.98 kB / 0.5195 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.3094, allocations: 24.02 kB / 0.5195 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.3095, allocations: 19.92 kB / 0.5195 GB, free: 7.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.3099, allocations: 275.1 kB / 0.5198 GB, free: 7.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3099, allocations: 0 / 0.5198 GB, free: 7.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001631/0.3115, allocations: 447.5 kB / 0.5202 GB, free: 7.082 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.002633/0.3142, allocations: 1.687 MB / 0.5218 GB, free: 5.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007457/0.3149, allocations: 379.6 kB / 0.5222 GB, free: 4.953 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3149, allocations: 7.875 kB / 0.5222 GB, free: 4.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.3153, allocations: 226.9 kB / 0.5224 GB, free: 4.719 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008542/0.3161, allocations: 134.3 kB / 0.5226 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.31/1.626, allocations: 0.4949 GB / 1.017 GB, free: 78.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/1.627, allocations: 0.8263 MB / 1.018 GB, free: 77.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004689/1.627, allocations: 159.7 kB / 1.018 GB, free: 77.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/1.627, allocations: 175.2 kB / 1.019 GB, free: 77.15 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/1.627, allocations: 0 / 1.019 GB, free: 77.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04305/1.67, allocations: 19.91 MB / 1.038 GB, free: 57.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.8, allocations: 16 kB / 1.038 GB, free: 57.32 MB / 0.4981 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