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.001159/0.001159, allocations: 101.7 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.001187/0.001187, allocations: 194.5 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.546/1.546, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.4046/0.4046, allocations: 43.5 MB / 313.6 MB, free: 8.305 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.001718/0.001719, allocations: 67.91 kB / 382.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1567, allocations: 57.77 MB / 440.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01586/0.1726, allocations: 11.26 MB / 451.4 MB, free: 3.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2938/0.4665, allocations: 14.19 MB / 465.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.4667, allocations: 2.844 kB / 465.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.4671, allocations: 57.94 kB / 465.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.4774, allocations: 2.774 MB / 468.4 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.4779, allocations: 144.9 kB / 468.5 MB, free: 34.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005839/0.4837, allocations: 4.182 MB / 472.7 MB, free: 34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4839, allocations: 17.81 kB / 472.7 MB, free: 34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.4841, allocations: 148.6 kB / 472.9 MB, free: 33.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009592/0.4937, allocations: 7.727 MB / 480.6 MB, free: 32.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.4939, allocations: 9.031 kB / 480.6 MB, free: 32.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005344/0.4992, allocations: 2.103 MB / 482.7 MB, free: 32.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.4994, allocations: 58.03 kB / 482.8 MB, free: 32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.4997, allocations: 128.8 kB / 482.9 MB, free: 31.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007035/0.5067, allocations: 1.546 MB / 484.4 MB, free: 31.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5068, allocations: 1.125 kB / 484.4 MB, free: 31.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5068, allocations: 0 / 484.4 MB, free: 31.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.5068, allocations: 0 / 484.4 MB, free: 31.39 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.002813/0.5096, allocations: 0.9174 MB / 485.4 MB, free: 30.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.5097, allocations: 13.08 kB / 485.4 MB, free: 30.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.061e-05/0.5098, allocations: 66.41 kB / 485.4 MB, free: 30.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006215/0.5104, allocations: 78.22 kB / 485.5 MB, free: 30.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.5106, allocations: 249.3 kB / 485.8 MB, free: 30.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.5107, allocations: 20.5 kB / 485.8 MB, free: 30.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.5107, allocations: 25.81 kB / 485.8 MB, free: 30.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.5118, allocations: 484.6 kB / 486.3 MB, free: 30.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.5118, allocations: 4.875 kB / 486.3 MB, free: 30.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.5119, allocations: 15.28 kB / 486.3 MB, free: 30.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.5119, allocations: 6.906 kB / 486.3 MB, free: 30.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.513, allocations: 0.6806 MB / 487 MB, free: 30.04 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.007366/0.5204, allocations: 3.097 MB / 490.1 MB, free: 28.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007256/0.5212, allocations: 215.6 kB / 490.3 MB, free: 28.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.5213, allocations: 78.2 kB / 490.4 MB, free: 28.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07943/0.6007, allocations: 30.77 MB / 0.5089 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000719/0.6015, allocations: 354 kB / 0.5093 GB, free: 8.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.976e-06/0.6015, allocations: 0 / 0.5093 GB, free: 8.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.002843/0.6044, allocations: 0.9653 MB / 0.5102 GB, free: 7.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.6045, allocations: 486.5 kB / 0.5107 GB, free: 6.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.6046, allocations: 152.4 kB / 0.5108 GB, free: 6.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.6047, allocations: 33.7 kB / 0.5108 GB, free: 6.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.6048, allocations: 164.1 kB / 0.511 GB, free: 6.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/0.6048, allocations: 138.1 kB / 0.5111 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.723e-05/0.6049, allocations: 90.16 kB / 0.5112 GB, free: 5.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.605, allocations: 330.8 kB / 0.5115 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.6051, allocations: 69.08 kB / 0.5116 GB, free: 5.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.6054, allocations: 325.3 kB / 0.5119 GB, free: 5.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.6059, allocations: 451.9 kB / 0.5123 GB, free: 4.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6059, allocations: 7.984 kB / 0.5123 GB, free: 4.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006163/0.6065, allocations: 439.1 kB / 0.5128 GB, free: 4.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.6065, allocations: 8.156 kB / 0.5128 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.6066, allocations: 12 kB / 0.5128 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/0.6085, allocations: 320.1 kB / 0.5131 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.6088, allocations: 103.8 kB / 0.5132 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005407/0.6094, allocations: 1.221 MB / 0.5144 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.6096, allocations: 24.03 kB / 0.5144 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.6097, allocations: 39.98 kB / 0.5144 GB, free: 2.359 MB / 382.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.0001504/0.6098, allocations: 157.6 kB / 0.5146 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-05/0.6099, allocations: 27.72 kB / 0.5146 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.6111, allocations: 1.05 MB / 0.5156 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.6111, allocations: 16.2 kB / 0.5157 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6111, allocations: 3.938 kB / 0.5157 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.6111, allocations: 4 kB / 0.5157 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.6125, allocations: 1.548 MB / 0.5172 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.6125, allocations: 8.031 kB / 0.5172 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.6126, allocations: 47.86 kB / 0.5172 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.6139, allocations: 252.7 kB / 0.5175 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.6139, allocations: 8 kB / 0.5175 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006603/0.6146, allocations: 1.266 MB / 0.5187 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6146, allocations: 7.969 kB / 0.5187 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007312/0.6153, allocations: 0.6032 MB / 0.5193 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.6154, allocations: 100.8 kB / 0.5194 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/0.6155, allocations: 51.38 kB / 0.5195 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.6158, allocations: 15.98 kB / 0.5195 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.6158, allocations: 23.97 kB / 0.5195 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.6159, allocations: 16.09 kB / 0.5195 GB, free: 12.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.6162, allocations: 279.1 kB / 0.5198 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6162, allocations: 3.938 kB / 0.5198 GB, free: 12.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001883/0.6181, allocations: 439.6 kB / 0.5202 GB, free: 12.16 MB / 398.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.00274/0.6208, allocations: 1.693 MB / 0.5219 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000762/0.6216, allocations: 380.9 kB / 0.5222 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.6216, allocations: 4.25 kB / 0.5222 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.622, allocations: 230 kB / 0.5224 GB, free: 9.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008264/0.6228, allocations: 124.7 kB / 0.5226 GB, free: 9.676 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.213/1.836, allocations: 0.4951 GB / 1.018 GB, free: 143.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/1.836, allocations: 0.8261 MB / 1.018 GB, free: 142.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004299/1.836, allocations: 162.3 kB / 1.019 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/1.837, allocations: 160.2 kB / 1.019 GB, free: 142.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/1.837, allocations: 2.906 kB / 1.019 GB, free: 142.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2168/2.053, allocations: 19.82 MB / 1.038 GB, free: 132.4 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/2.054, allocations: 258.1 kB / 1.038 GB, free: 132.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/4.601, allocations: 0 / 1.038 GB, free: 132.1 MB / 494.1 MB (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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches