Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001619/0.001619, allocations: 118.8 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00212/0.00212, allocations: 201.2 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 79.81 kB / 480.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3882, allocations: 62.44 MB / 0.5306 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01465/0.4029, allocations: 11.28 MB / 0.5416 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.4172, allocations: 11.78 MB / 0.5531 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.4175, allocations: 0 / 0.5531 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.4179, allocations: 75.5 kB / 0.5532 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.4287, allocations: 3.114 MB / 0.5562 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.4292, allocations: 155.6 kB / 0.5563 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005388/0.4346, allocations: 3.893 MB / 0.5601 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.324e-05/0.4347, allocations: 24.39 kB / 0.5602 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.4348, allocations: 135.5 kB / 0.5603 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009004/0.4438, allocations: 7.137 MB / 0.5673 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.4439, allocations: 8 kB / 0.5673 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006076/0.45, allocations: 2.127 MB / 0.5694 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.4502, allocations: 51.75 kB / 0.5694 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.4504, allocations: 123.4 kB / 0.5695 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005479/0.4559, allocations: 1.536 MB / 0.571 GB, free: 8.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.456, allocations: 4 kB / 0.571 GB, free: 8.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.859e-06/0.456, allocations: 0 / 0.571 GB, free: 8.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.456, allocations: 0 / 0.571 GB, free: 8.281 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.003481/0.4595, allocations: 0.9321 MB / 0.5719 GB, free: 7.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/0.4596, allocations: 8.031 kB / 0.5719 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.4597, allocations: 58.73 kB / 0.572 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007548/0.4605, allocations: 84.61 kB / 0.5721 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006131/0.4611, allocations: 255.9 kB / 0.5723 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.4612, allocations: 16.94 kB / 0.5723 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.821e-05/0.4612, allocations: 28.38 kB / 0.5724 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.4624, allocations: 489.4 kB / 0.5728 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.4625, allocations: 0 / 0.5728 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.4625, allocations: 12 kB / 0.5728 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4625, allocations: 8 kB / 0.5729 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.4637, allocations: 0.6773 MB / 0.5735 GB, free: 5.602 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.008052/0.4718, allocations: 4.303 MB / 0.5777 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.4724, allocations: 171 kB / 0.5779 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.4725, allocations: 61.53 kB / 0.5779 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02904/0.5016, allocations: 16.4 MB / 0.594 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007791/0.5024, allocations: 326 kB / 0.5943 GB, free: 13.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 4.939e-06/0.5024, allocations: 4 kB / 0.5943 GB, free: 13.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001526/0.5039, allocations: 438.3 kB / 0.5947 GB, free: 13.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002288/0.5042, allocations: 482.8 kB / 0.5951 GB, free: 12.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.5044, allocations: 190 kB / 0.5953 GB, free: 12.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.5045, allocations: 33.7 kB / 0.5954 GB, free: 12.42 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.5046, allocations: 183.6 kB / 0.5955 GB, free: 12.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/0.5047, allocations: 94.59 kB / 0.5956 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.5048, allocations: 98.02 kB / 0.5957 GB, free: 12.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.505, allocations: 334.8 kB / 0.596 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.5051, allocations: 60.84 kB / 0.5961 GB, free: 11.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.5054, allocations: 310.7 kB / 0.5964 GB, free: 11.22 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.5059, allocations: 421 kB / 0.5968 GB, free: 10.69 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.5059, allocations: 7.938 kB / 0.5968 GB, free: 10.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006489/0.5066, allocations: 397.5 kB / 0.5972 GB, free: 10.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.5066, allocations: 8 kB / 0.5972 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.5066, allocations: 11.98 kB / 0.5972 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.5066, allocations: 15.94 kB / 0.5972 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.5069, allocations: 103.8 kB / 0.5973 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.507, allocations: 16.47 kB / 0.5973 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.5072, allocations: 51.47 kB / 0.5974 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.5073, allocations: 35.98 kB / 0.5974 GB, free: 10.05 MB / 462.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.0001439/0.5074, allocations: 153.7 kB / 0.5976 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.5075, allocations: 31.7 kB / 0.5976 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00099/0.5085, allocations: 0.7727 MB / 0.5983 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.5085, allocations: 8.219 kB / 0.5984 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.5085, allocations: 8 kB / 0.5984 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5086, allocations: 7.875 kB / 0.5984 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.5097, allocations: 1.221 MB / 0.5996 GB, free: 7.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.5097, allocations: 4 kB / 0.5996 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.5099, allocations: 31.98 kB / 0.5996 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.5099, allocations: 8.031 kB / 0.5996 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.5099, allocations: 11.98 kB / 0.5996 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.5099, allocations: 3.938 kB / 0.5996 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5099, allocations: 4 kB / 0.5996 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.5104, allocations: 372.5 kB / 0.6 GB, free: 7.188 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.5104, allocations: 104.8 kB / 0.6001 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.5105, allocations: 39.44 kB / 0.6001 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.5107, allocations: 15.98 kB / 0.6001 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.5108, allocations: 23.91 kB / 0.6002 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.5108, allocations: 8 kB / 0.6002 GB, free: 6.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003231/0.5111, allocations: 298.9 kB / 0.6004 GB, free: 6.688 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5111, allocations: 0 / 0.6004 GB, free: 6.688 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001292/0.5124, allocations: 427.4 kB / 0.6009 GB, free: 6.27 MB / 462.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.002218/0.5147, allocations: 1.427 MB / 0.6022 GB, free: 4.785 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004223/0.5151, allocations: 241.3 kB / 0.6025 GB, free: 4.551 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.5151, allocations: 4 kB / 0.6025 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.5152, allocations: 80.78 kB / 0.6026 GB, free: 4.469 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007548/0.516, allocations: 109.9 kB / 0.6027 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.518/2.034, allocations: 0.582 GB / 1.185 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/2.035, allocations: 0.8106 MB / 1.185 GB, free: 218.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003957/2.035, allocations: 174 kB / 1.186 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/2.035, allocations: 152.4 kB / 1.186 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of SimCode: time 8.02e-07/2.035, allocations: 0 / 1.186 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/2.071, allocations: 18.5 MB / 1.204 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.705/10.78, allocations: 5.375 kB / 1.204 GB, free: 201.6 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches