Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 195.7 kB / 16.09 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 226.5 MB / 243.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007516/0.0007519, allocations: 100.2 kB / 295.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3446/0.3446, allocations: 44.83 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002953, allocations: 11.94 kB / 465.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3483, allocations: 62.97 MB / 0.516 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02388/0.3722, allocations: 25.13 MB / 0.5405 GB, free: 19.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.3825, allocations: 10.23 MB / 0.5505 GB, free: 12.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.3828, allocations: 0 / 0.5505 GB, free: 12.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.3832, allocations: 67.73 kB / 0.5506 GB, free: 12.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02424/0.4075, allocations: 7.285 MB / 0.5577 GB, free: 9.148 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.4086, allocations: 380.3 kB / 0.558 GB, free: 8.902 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008206/0.4094, allocations: 0.5787 MB / 0.5586 GB, free: 8.566 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.334e-05/0.4095, allocations: 18.78 kB / 0.5586 GB, free: 8.555 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004466/0.4099, allocations: 184.6 kB / 0.5588 GB, free: 8.473 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01792/0.4279, allocations: 11.36 MB / 0.5699 GB, free: 2.191 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.428, allocations: 8 kB / 0.5699 GB, free: 2.184 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02942/0.4575, allocations: 13.36 MB / 0.583 GB, free: 4.805 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.4577, allocations: 87.73 kB / 0.583 GB, free: 4.719 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.458, allocations: 157.2 kB / 0.5832 GB, free: 4.559 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.4705, allocations: 4.573 MB / 0.5877 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4705, allocations: 0 / 0.5877 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4705, allocations: 4 kB / 0.5877 GB, free: 15.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.4705, allocations: 0 / 0.5877 GB, free: 15.97 MB / 410.7 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.004989/0.4755, allocations: 1.486 MB / 0.5891 GB, free: 14.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4756, allocations: 12.03 kB / 0.5891 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.839e-05/0.4757, allocations: 66.7 kB / 0.5892 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.4759, allocations: 43.64 kB / 0.5892 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.4762, allocations: 242.7 kB / 0.5895 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.4762, allocations: 20.56 kB / 0.5895 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.4762, allocations: 24 kB / 0.5895 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.477, allocations: 0.5168 MB / 0.59 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4771, allocations: 0 / 0.59 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.4771, allocations: 19.92 kB / 0.59 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.4772, allocations: 28.48 kB / 0.5901 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.4783, allocations: 0.9077 MB / 0.5909 GB, free: 12.48 MB / 410.7 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.002027/0.4804, allocations: 1.91 MB / 0.5928 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.4811, allocations: 266.8 kB / 0.5931 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.4812, allocations: 105.5 kB / 0.5932 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01838/0.4996, allocations: 15.75 MB / 0.6085 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004946/0.5002, allocations: 241.9 kB / 0.6088 GB, free: 7.012 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.575e-06/0.5002, allocations: 0 / 0.6088 GB, free: 7.012 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002306/0.5025, allocations: 0.7747 MB / 0.6095 GB, free: 6.207 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.5027, allocations: 277 kB / 0.6098 GB, free: 5.875 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.5029, allocations: 203.9 kB / 0.61 GB, free: 5.668 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.5029, allocations: 29.7 kB / 0.61 GB, free: 5.633 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.5031, allocations: 203.4 kB / 0.6102 GB, free: 5.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.5032, allocations: 126.3 kB / 0.6103 GB, free: 5.305 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.5032, allocations: 8 kB / 0.6103 GB, free: 5.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5033, allocations: 334.8 kB / 0.6107 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.5035, allocations: 89.05 kB / 0.6107 GB, free: 4.875 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.5039, allocations: 373.3 kB / 0.6111 GB, free: 4.379 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/0.5046, allocations: 0.4917 MB / 0.6116 GB, free: 3.758 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.5046, allocations: 4 kB / 0.6116 GB, free: 3.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001249/0.5059, allocations: 0.4962 MB / 0.6121 GB, free: 3.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.5059, allocations: 12 kB / 0.6121 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.506, allocations: 12 kB / 0.6121 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.506, allocations: 19.88 kB / 0.6121 GB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.5067, allocations: 179.7 kB / 0.6123 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006491/0.5073, allocations: 1.195 MB / 0.6135 GB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.5077, allocations: 31.86 kB / 0.6135 GB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-05/0.5078, allocations: 43.98 kB / 0.6135 GB, free: 1.719 MB / 426.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.508, allocations: 169.6 kB / 0.6137 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.5082, allocations: 31.72 kB / 0.6137 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.5092, allocations: 489 kB / 0.6142 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.5093, allocations: 4 kB / 0.6142 GB, free: 1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5093, allocations: 0 / 0.6142 GB, free: 1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5093, allocations: 7.938 kB / 0.6142 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009333/0.5102, allocations: 0.5974 MB / 0.6148 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5102, allocations: 7.938 kB / 0.6148 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.5106, allocations: 91.8 kB / 0.6149 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.5107, allocations: 0 / 0.6149 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.5107, allocations: 12 kB / 0.6149 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005411/0.5112, allocations: 1.172 MB / 0.616 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5112, allocations: 3.984 kB / 0.616 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005308/0.5118, allocations: 327.4 kB / 0.6163 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.5119, allocations: 124.7 kB / 0.6165 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.512, allocations: 11.94 kB / 0.6165 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.5122, allocations: 15.98 kB / 0.6165 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.5123, allocations: 19.97 kB / 0.6165 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.5123, allocations: 16 kB / 0.6165 GB, free: 14.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.5124, allocations: 164.5 kB / 0.6167 GB, free: 14.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.283e-06/0.5125, allocations: 0 / 0.6167 GB, free: 14.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004939/0.5174, allocations: 1.686 MB / 0.6183 GB, free: 12.59 MB / 442.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01037/0.5278, allocations: 3.094 MB / 0.6214 GB, free: 9.465 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.5291, allocations: 317.3 kB / 0.6217 GB, free: 9.156 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.5291, allocations: 4 kB / 0.6217 GB, free: 9.152 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005418/0.5297, allocations: 117.5 kB / 0.6218 GB, free: 9.039 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.5304, allocations: 69.2 kB / 0.6218 GB, free: 8.973 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4477/0.9781, allocations: 142.4 MB / 0.7609 GB, free: 78.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.9784, allocations: 0.7527 MB / 0.7616 GB, free: 77.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.9786, allocations: 115.4 kB / 0.7617 GB, free: 77.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/0.9786, allocations: 0 / 0.7617 GB, free: 77.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.347/8.326, allocations: 35.55 MB / 0.7965 GB, free: 41.99 MB / 490.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches