Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001703/0.001703, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002/0.002, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 247 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 75.88 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4154, allocations: 62.45 MB / 0.5307 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01651/0.432, allocations: 11.29 MB / 0.5417 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.4473, allocations: 11.78 MB / 0.5532 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.4476, allocations: 0 / 0.5532 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.448, allocations: 71.5 kB / 0.5533 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.4589, allocations: 3.117 MB / 0.5563 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.4593, allocations: 155 kB / 0.5565 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005948/0.4653, allocations: 3.893 MB / 0.5603 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.355e-05/0.4654, allocations: 20.41 kB / 0.5603 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.4656, allocations: 143.5 kB / 0.5604 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.4757, allocations: 7.114 MB / 0.5674 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.016e-05/0.4759, allocations: 8 kB / 0.5674 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006006/0.4819, allocations: 2.115 MB / 0.5694 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.482, allocations: 43.83 kB / 0.5695 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.4822, allocations: 123.4 kB / 0.5696 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004811/0.4871, allocations: 1.547 MB / 0.5711 GB, free: 8.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4871, allocations: 0 / 0.5711 GB, free: 8.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4871, allocations: 0 / 0.5711 GB, free: 8.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.4871, allocations: 4 kB / 0.5711 GB, free: 8.312 MB / 430.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.002194/0.4893, allocations: 0.9452 MB / 0.572 GB, free: 7.316 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4894, allocations: 8.031 kB / 0.572 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.815e-05/0.4895, allocations: 66.67 kB / 0.5721 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005773/0.49, allocations: 84.67 kB / 0.5722 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.4904, allocations: 244.1 kB / 0.5724 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.4904, allocations: 20.88 kB / 0.5724 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.4905, allocations: 28.38 kB / 0.5725 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/0.4915, allocations: 489.4 kB / 0.5729 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4915, allocations: 3.938 kB / 0.5729 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.4915, allocations: 16 kB / 0.5729 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.4915, allocations: 8 kB / 0.573 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.4927, allocations: 0.6773 MB / 0.5736 GB, free: 5.609 MB / 430.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.006409/0.4991, allocations: 3.099 MB / 0.5766 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/0.4998, allocations: 216.2 kB / 0.5769 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.4999, allocations: 77.39 kB / 0.5769 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08253/0.5824, allocations: 30.78 MB / 0.607 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008007/0.5833, allocations: 354.4 kB / 0.6073 GB, free: 456 kB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.555e-06/0.5833, allocations: 0 / 0.6073 GB, free: 456 kB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003119/0.5864, allocations: 0.9993 MB / 0.6083 GB, free: 15.44 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000263/0.5867, allocations: 487 kB / 0.6088 GB, free: 14.85 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.5869, allocations: 161.3 kB / 0.6089 GB, free: 14.69 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.5869, allocations: 33.7 kB / 0.6089 GB, free: 14.65 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.5871, allocations: 164.4 kB / 0.6091 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.5872, allocations: 142.8 kB / 0.6092 GB, free: 14.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.5873, allocations: 90.2 kB / 0.6093 GB, free: 14.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5875, allocations: 330.8 kB / 0.6096 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.5876, allocations: 69.08 kB / 0.6097 GB, free: 13.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.588, allocations: 326.1 kB / 0.61 GB, free: 13.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.5885, allocations: 448 kB / 0.6104 GB, free: 12.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5885, allocations: 4 kB / 0.6104 GB, free: 12.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007759/0.5893, allocations: 447.2 kB / 0.6109 GB, free: 12.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5894, allocations: 11.98 kB / 0.6109 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.5894, allocations: 8 kB / 0.6109 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002094/0.5915, allocations: 313.6 kB / 0.6112 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.5918, allocations: 107.8 kB / 0.6113 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008232/0.5926, allocations: 1.223 MB / 0.6125 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.5929, allocations: 19.89 kB / 0.6125 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.5929, allocations: 35.94 kB / 0.6125 GB, free: 10.64 MB / 478.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.0002129/0.5931, allocations: 165.6 kB / 0.6127 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/0.5932, allocations: 23.91 kB / 0.6127 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.5947, allocations: 1.051 MB / 0.6138 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.5948, allocations: 11.92 kB / 0.6138 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5948, allocations: 4 kB / 0.6138 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.5948, allocations: 4 kB / 0.6138 GB, free: 9.336 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.5966, allocations: 1.56 MB / 0.6153 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.5966, allocations: 0 / 0.6153 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.5968, allocations: 47.91 kB / 0.6153 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.598, allocations: 241.5 kB / 0.6156 GB, free: 7.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.5981, allocations: 8 kB / 0.6156 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008237/0.5989, allocations: 1.27 MB / 0.6168 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.5989, allocations: 7.938 kB / 0.6168 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/0.5998, allocations: 0.595 MB / 0.6174 GB, free: 5.363 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.5999, allocations: 104.8 kB / 0.6175 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-05/0.6, allocations: 55.56 kB / 0.6176 GB, free: 5.188 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.6002, allocations: 12 kB / 0.6176 GB, free: 5.176 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.6002, allocations: 23.97 kB / 0.6176 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.6003, allocations: 16 kB / 0.6176 GB, free: 5.137 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003315/0.6006, allocations: 275.1 kB / 0.6179 GB, free: 4.867 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.973e-06/0.6006, allocations: 0 / 0.6179 GB, free: 4.867 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001542/0.6022, allocations: 450.5 kB / 0.6183 GB, free: 4.426 MB / 478.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.002655/0.6048, allocations: 1.701 MB / 0.62 GB, free: 2.656 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007973/0.6056, allocations: 372.5 kB / 0.6203 GB, free: 2.289 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6057, allocations: 3.938 kB / 0.6203 GB, free: 2.285 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.606, allocations: 237.5 kB / 0.6205 GB, free: 2.047 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008338/0.6068, allocations: 126.6 kB / 0.6207 GB, free: 1.918 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.262/1.869, allocations: 0.495 GB / 1.116 GB, free: 63.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/1.869, allocations: 0.8195 MB / 1.116 GB, free: 62.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000387/1.869, allocations: 167.2 kB / 1.117 GB, free: 62.08 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/1.869, allocations: 171.4 kB / 1.117 GB, free: 61.91 MB / 0.6075 GB Notification: Performance of SimCode: time 7.92e-07/1.869, allocations: 0 / 1.117 GB, free: 61.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04532/1.915, allocations: 20.03 MB / 1.136 GB, free: 42.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.9, allocations: 8.547 kB / 1.136 GB, free: 42.13 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches