Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001266, allocations: 198.1 kB / 16.09 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 226.5 MB / 243.4 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007695/0.0007693, allocations: 95.48 kB / 295.5 MB, free: 6.629 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.308/0.308, allocations: 44.82 MB / 392.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002751, allocations: 8 kB / 465.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3598, allocations: 62.96 MB / 0.516 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.009737/0.3696, allocations: 10.23 MB / 0.526 GB, free: 29.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008763/0.3784, allocations: 10.78 MB / 0.5365 GB, free: 21.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.3787, allocations: 0 / 0.5365 GB, free: 21.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.3791, allocations: 51.77 kB / 0.5365 GB, free: 21.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008349/0.3874, allocations: 2.497 MB / 0.539 GB, free: 20.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.3879, allocations: 142 kB / 0.5391 GB, free: 20.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01054/0.3984, allocations: 7.404 MB / 0.5463 GB, free: 19.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.3985, allocations: 14.19 kB / 0.5464 GB, free: 19.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/0.3989, allocations: 140.8 kB / 0.5465 GB, free: 19.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01948/0.4184, allocations: 14.16 MB / 0.5603 GB, free: 11.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.399e-05/0.4185, allocations: 4 kB / 0.5603 GB, free: 11.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005117/0.4237, allocations: 2.049 MB / 0.5623 GB, free: 9.777 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.4238, allocations: 43.77 kB / 0.5624 GB, free: 9.734 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.424, allocations: 145.2 kB / 0.5625 GB, free: 9.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.426, allocations: 1.056 MB / 0.5635 GB, free: 8.527 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.426, allocations: 0 / 0.5635 GB, free: 8.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.426, allocations: 3.938 kB / 0.5635 GB, free: 8.523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.426, allocations: 0 / 0.5635 GB, free: 8.523 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.001912/0.4279, allocations: 0.8619 MB / 0.5644 GB, free: 7.613 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.428, allocations: 12.03 kB / 0.5644 GB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.587e-05/0.428, allocations: 66.72 kB / 0.5645 GB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/0.4285, allocations: 76.59 kB / 0.5645 GB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.4287, allocations: 244 kB / 0.5648 GB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.4288, allocations: 20.94 kB / 0.5648 GB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.4288, allocations: 28.36 kB / 0.5648 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/0.4296, allocations: 481.4 kB / 0.5653 GB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4296, allocations: 7.922 kB / 0.5653 GB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.4296, allocations: 12 kB / 0.5653 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4296, allocations: 8 kB / 0.5653 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/0.4305, allocations: 0.6812 MB / 0.566 GB, free: 5.914 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.005775/0.4362, allocations: 4.289 MB / 0.5701 GB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.4367, allocations: 171 kB / 0.5703 GB, free: 1.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.013e-05/0.4368, allocations: 57.3 kB / 0.5704 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02736/0.4641, allocations: 16.37 MB / 0.5864 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006725/0.4649, allocations: 318 kB / 0.5867 GB, free: 14.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.344e-06/0.4649, allocations: 0 / 0.5867 GB, free: 14.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001265/0.4661, allocations: 439.9 kB / 0.5871 GB, free: 13.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002439/0.4664, allocations: 478.8 kB / 0.5875 GB, free: 13.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.4666, allocations: 196.1 kB / 0.5877 GB, free: 12.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.4666, allocations: 33.69 kB / 0.5878 GB, free: 12.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.4668, allocations: 183.6 kB / 0.5879 GB, free: 12.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/0.4668, allocations: 106.6 kB / 0.588 GB, free: 12.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.4669, allocations: 4 kB / 0.588 GB, free: 12.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.467, allocations: 330.8 kB / 0.5884 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.4672, allocations: 68.83 kB / 0.5884 GB, free: 12.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.4674, allocations: 306.8 kB / 0.5887 GB, free: 11.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.4679, allocations: 424.8 kB / 0.5891 GB, free: 11.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.4679, allocations: 4 kB / 0.5891 GB, free: 11.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006105/0.4685, allocations: 401.5 kB / 0.5895 GB, free: 10.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4685, allocations: 8 kB / 0.5895 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4686, allocations: 8 kB / 0.5895 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.4686, allocations: 12 kB / 0.5895 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.4689, allocations: 107.8 kB / 0.5896 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.4689, allocations: 19.92 kB / 0.5896 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.4692, allocations: 51.94 kB / 0.5897 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.4692, allocations: 31.94 kB / 0.5897 GB, free: 10.51 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.4694, allocations: 157.6 kB / 0.5899 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.4694, allocations: 23.81 kB / 0.5899 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.4705, allocations: 0.802 MB / 0.5907 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.4705, allocations: 4 kB / 0.5907 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4705, allocations: 4 kB / 0.5907 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4706, allocations: 11.92 kB / 0.5907 GB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.4717, allocations: 1.211 MB / 0.5919 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4717, allocations: 0 / 0.5919 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4718, allocations: 35.91 kB / 0.5919 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.4718, allocations: 7.938 kB / 0.5919 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.4718, allocations: 12 kB / 0.5919 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.4719, allocations: 4 kB / 0.5919 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4719, allocations: 4.094 kB / 0.5919 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.4722, allocations: 377.9 kB / 0.5923 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.4724, allocations: 212.1 kB / 0.5925 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.4724, allocations: 8 kB / 0.5925 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.4727, allocations: 15.98 kB / 0.5925 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.4727, allocations: 19.92 kB / 0.5926 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.4727, allocations: 12 kB / 0.5926 GB, free: 7.355 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002833/0.473, allocations: 290.9 kB / 0.5928 GB, free: 7.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.473, allocations: 0 / 0.5928 GB, free: 7.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00134/0.4744, allocations: 427.5 kB / 0.5932 GB, free: 6.652 MB / 410.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001891/0.4763, allocations: 1.426 MB / 0.5946 GB, free: 5.164 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.4767, allocations: 232.4 kB / 0.5949 GB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4767, allocations: 0 / 0.5949 GB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.4768, allocations: 81.48 kB / 0.5949 GB, free: 4.859 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/0.4776, allocations: 92.42 kB / 0.595 GB, free: 4.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.453/1.93, allocations: 0.5782 GB / 1.173 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/1.931, allocations: 0.8109 MB / 1.174 GB, free: 79.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/1.931, allocations: 151.4 kB / 1.174 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/1.931, allocations: 0 / 1.174 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.163/5.094, allocations: 11.18 MB / 1.185 GB, free: 67.78 MB / 0.5105 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches