Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 114.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2468/0.2468, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 83.86 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.383, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.04027/0.4233, allocations: 27.13 MB / 0.5572 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.016/0.4394, allocations: 11.04 MB / 0.5679 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.4396, allocations: 4 kB / 0.5679 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004495/0.4401, allocations: 79.55 kB / 0.568 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02963/0.4698, allocations: 9.246 MB / 0.577 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.471, allocations: 419.2 kB / 0.5774 GB, free: 1.676 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008241/0.4718, allocations: 490.4 kB / 0.5779 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.078e-05/0.4719, allocations: 24.23 kB / 0.5779 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.4722, allocations: 183.4 kB / 0.5781 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/0.4836, allocations: 6.023 MB / 0.584 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.767e-05/0.4838, allocations: 12 kB / 0.584 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02983/0.5136, allocations: 13.42 MB / 0.5971 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.5139, allocations: 99.67 kB / 0.5972 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.5142, allocations: 139.4 kB / 0.5973 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02486/0.539, allocations: 6.812 MB / 0.604 GB, free: 6.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.5391, allocations: 0 / 0.604 GB, free: 6.441 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.5391, allocations: 0 / 0.604 GB, free: 6.441 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.5391, allocations: 0 / 0.604 GB, free: 6.441 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005598/0.5447, allocations: 1.614 MB / 0.6056 GB, free: 4.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5448, allocations: 12.03 kB / 0.6056 GB, free: 4.758 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.805e-05/0.5449, allocations: 66.72 kB / 0.6056 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.5451, allocations: 39.8 kB / 0.6057 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.5455, allocations: 250.6 kB / 0.6059 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.5455, allocations: 20.55 kB / 0.6059 GB, free: 4.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.5456, allocations: 28 kB / 0.606 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000936/0.5465, allocations: 0.5169 MB / 0.6065 GB, free: 3.766 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5465, allocations: 0 / 0.6065 GB, free: 3.766 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.5466, allocations: 15.94 kB / 0.6065 GB, free: 3.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-05/0.5466, allocations: 20.5 kB / 0.6065 GB, free: 3.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.5479, allocations: 0.9194 MB / 0.6074 GB, free: 2.809 MB / 462.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.002423/0.5503, allocations: 1.902 MB / 0.6093 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.5511, allocations: 275.8 kB / 0.6095 GB, free: 492 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.5513, allocations: 101.5 kB / 0.6096 GB, free: 388 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0212/0.5725, allocations: 15.67 MB / 0.6249 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005485/0.573, allocations: 245.6 kB / 0.6252 GB, free: 13.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.5731, allocations: 4 kB / 0.6252 GB, free: 13.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002351/0.5754, allocations: 0.787 MB / 0.6259 GB, free: 12.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/0.5756, allocations: 285 kB / 0.6262 GB, free: 12.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.5759, allocations: 206.9 kB / 0.6264 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.5759, allocations: 33.7 kB / 0.6264 GB, free: 12.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.576, allocations: 200 kB / 0.6266 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.5762, allocations: 130.8 kB / 0.6267 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.5763, allocations: 130 kB / 0.6269 GB, free: 11.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.5765, allocations: 338.8 kB / 0.6272 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.5767, allocations: 93.06 kB / 0.6273 GB, free: 11.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.5772, allocations: 365.6 kB / 0.6276 GB, free: 10.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009067/0.5781, allocations: 0.5069 MB / 0.6281 GB, free: 10 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.5782, allocations: 4 kB / 0.6281 GB, free: 10 MB / 494.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001277/0.5794, allocations: 0.5016 MB / 0.6286 GB, free: 9.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.5795, allocations: 8 kB / 0.6286 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.5795, allocations: 11.94 kB / 0.6286 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.5795, allocations: 16 kB / 0.6286 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/0.5803, allocations: 183.8 kB / 0.6288 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007978/0.5811, allocations: 1.184 MB / 0.63 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.5814, allocations: 31.89 kB / 0.63 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.5815, allocations: 43.98 kB / 0.6301 GB, free: 7.973 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (67): * Single equations (assignments): 65 * 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 {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.5817, allocations: 165.6 kB / 0.6302 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.5819, allocations: 35.86 kB / 0.6302 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.5829, allocations: 481.8 kB / 0.6307 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.583, allocations: 0 / 0.6307 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.583, allocations: 7.938 kB / 0.6307 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.583, allocations: 3.938 kB / 0.6307 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.584, allocations: 0.6031 MB / 0.6313 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.584, allocations: 4 kB / 0.6313 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.5844, allocations: 87.81 kB / 0.6314 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.5844, allocations: 0 / 0.6314 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.5845, allocations: 12 kB / 0.6314 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006789/0.5851, allocations: 1.176 MB / 0.6326 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5852, allocations: 0 / 0.6326 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.5858, allocations: 323.7 kB / 0.6329 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.5859, allocations: 101 kB / 0.633 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.5859, allocations: 7.938 kB / 0.633 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.5862, allocations: 15.98 kB / 0.633 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.5862, allocations: 15.98 kB / 0.633 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.5863, allocations: 15.98 kB / 0.633 GB, free: 4.734 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.5864, allocations: 168.5 kB / 0.6332 GB, free: 4.566 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5864, allocations: 3.938 kB / 0.6332 GB, free: 4.562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005575/0.592, allocations: 1.726 MB / 0.6349 GB, free: 2.832 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * 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 {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01145/0.6035, allocations: 3.118 MB / 0.6379 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.605, allocations: 321.4 kB / 0.6382 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.605, allocations: 0 / 0.6382 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.6055, allocations: 127.4 kB / 0.6383 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008678/0.6063, allocations: 104.3 kB / 0.6384 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5508/1.157, allocations: 144.4 MB / 0.7795 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/1.157, allocations: 0.7534 MB / 0.7802 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004296/1.158, allocations: 144.3 kB / 0.7803 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/1.158, allocations: 103.4 kB / 0.7804 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.158, allocations: 0 / 0.7804 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0833/1.241, allocations: 51.3 MB / 0.8305 GB, free: 54.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.81, allocations: 11.72 kB / 0.8305 GB, free: 54.42 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches