Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 197.7 kB / 16.1 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.229/1.229, allocations: 226.5 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001241/0.001241, allocations: 97.84 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3671/0.3671, allocations: 44.83 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.000301, allocations: 11.98 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.364, allocations: 62.96 MB / 0.516 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.009047/0.3731, allocations: 10.23 MB / 0.526 GB, free: 29.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008405/0.3815, allocations: 10.78 MB / 0.5365 GB, free: 21.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.3817, allocations: 3.938 kB / 0.5365 GB, free: 21.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.382, allocations: 53.08 kB / 0.5365 GB, free: 21.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008298/0.3903, allocations: 2.495 MB / 0.539 GB, free: 20.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.3907, allocations: 138.3 kB / 0.5391 GB, free: 20.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009401/0.4001, allocations: 7.406 MB / 0.5463 GB, free: 19.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.531e-05/0.4002, allocations: 14.64 kB / 0.5464 GB, free: 19.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.4004, allocations: 141.4 kB / 0.5465 GB, free: 19.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0183/0.4187, allocations: 14.16 MB / 0.5603 GB, free: 11.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.183e-05/0.4189, allocations: 8 kB / 0.5603 GB, free: 11.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005309/0.4242, allocations: 2.279 MB / 0.5625 GB, free: 9.684 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.4243, allocations: 47.73 kB / 0.5626 GB, free: 9.637 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.4245, allocations: 149.2 kB / 0.5627 GB, free: 9.484 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.4264, allocations: 1.177 MB / 0.5639 GB, free: 8.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4264, allocations: 4 kB / 0.5639 GB, free: 8.301 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4264, allocations: 0 / 0.5639 GB, free: 8.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.4265, allocations: 0 / 0.5639 GB, free: 8.301 MB / 378.7 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.001859/0.4283, allocations: 0.9009 MB / 0.5648 GB, free: 7.352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4284, allocations: 8.031 kB / 0.5648 GB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.725e-05/0.4284, allocations: 70.72 kB / 0.5648 GB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004773/0.4289, allocations: 76.59 kB / 0.5649 GB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.4291, allocations: 248 kB / 0.5652 GB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4292, allocations: 16.94 kB / 0.5652 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.4292, allocations: 28.38 kB / 0.5652 GB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.43, allocations: 481.4 kB / 0.5657 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.43, allocations: 7.938 kB / 0.5657 GB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.43, allocations: 15.94 kB / 0.5657 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.4301, allocations: 8 kB / 0.5657 GB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008406/0.4309, allocations: 0.6774 MB / 0.5663 GB, free: 5.652 MB / 378.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.005579/0.4365, allocations: 3.125 MB / 0.5694 GB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.437, allocations: 215.4 kB / 0.5696 GB, free: 2.109 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.144e-05/0.4371, allocations: 77.38 kB / 0.5697 GB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08075/0.5179, allocations: 33.48 MB / 0.6024 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000723/0.5186, allocations: 341.8 kB / 0.6027 GB, free: 13.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.266e-06/0.5187, allocations: 0 / 0.6027 GB, free: 13.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002539/0.5212, allocations: 0.8657 MB / 0.6035 GB, free: 12.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002097/0.5214, allocations: 479.7 kB / 0.604 GB, free: 11.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.5216, allocations: 154.3 kB / 0.6041 GB, free: 11.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.5217, allocations: 33.7 kB / 0.6042 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.5218, allocations: 171.8 kB / 0.6043 GB, free: 11.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.898e-05/0.5219, allocations: 118.3 kB / 0.6045 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.5219, allocations: 12 kB / 0.6045 GB, free: 11.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.522, allocations: 330.8 kB / 0.6048 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.5221, allocations: 73.02 kB / 0.6049 GB, free: 10.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.5224, allocations: 305.9 kB / 0.6051 GB, free: 10.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.5229, allocations: 437.2 kB / 0.6056 GB, free: 9.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.5229, allocations: 0 / 0.6056 GB, free: 9.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006989/0.5236, allocations: 413.2 kB / 0.606 GB, free: 9.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5236, allocations: 11.98 kB / 0.606 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5237, allocations: 8 kB / 0.606 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.5237, allocations: 12 kB / 0.606 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.5253, allocations: 264 kB / 0.6062 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006094/0.526, allocations: 1.176 MB / 0.6074 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.5262, allocations: 31.83 kB / 0.6074 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.5263, allocations: 28 kB / 0.6074 GB, free: 8 MB / 426.7 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 (55): * Single equations (assignments): 53 * 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.0001632/0.5264, allocations: 165.8 kB / 0.6076 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.5265, allocations: 23.81 kB / 0.6076 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.5279, allocations: 0.9634 MB / 0.6086 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.5279, allocations: 12.2 kB / 0.6086 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5279, allocations: 8 kB / 0.6086 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.5279, allocations: 3.984 kB / 0.6086 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.5294, allocations: 1.414 MB / 0.61 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.5295, allocations: 7.938 kB / 0.61 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009869/0.5304, allocations: 151.8 kB / 0.6101 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5305, allocations: 4 kB / 0.6101 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.5305, allocations: 8 kB / 0.6101 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003227/0.5308, allocations: 0.5977 MB / 0.6107 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5308, allocations: 0 / 0.6107 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.5315, allocations: 0.5198 MB / 0.6112 GB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.5318, allocations: 220 kB / 0.6114 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/0.5319, allocations: 7.938 kB / 0.6114 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.5322, allocations: 23.92 kB / 0.6115 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.5322, allocations: 23.92 kB / 0.6115 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.5323, allocations: 19.98 kB / 0.6115 GB, free: 3.562 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003375/0.5326, allocations: 271.1 kB / 0.6118 GB, free: 3.297 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5326, allocations: 0 / 0.6118 GB, free: 3.297 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001745/0.5344, allocations: 463.6 kB / 0.6122 GB, free: 2.844 MB / 426.7 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002664/0.5371, allocations: 1.629 MB / 0.6138 GB, free: 1.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.5385, allocations: 390.6 kB / 0.6142 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5385, allocations: 320 / 0.6142 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000728/0.5392, allocations: 227.7 kB / 0.6144 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/0.54, allocations: 100.2 kB / 0.6145 GB, free: 476 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.401/1.941, allocations: 0.5363 GB / 1.151 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/1.941, allocations: 0.8195 MB / 1.152 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/1.942, allocations: 159.4 kB / 1.152 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/1.942, allocations: 4 kB / 1.152 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.506/5.447, allocations: 13.6 MB / 1.165 GB, free: 87.78 MB / 0.5105 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches