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.00157/0.00157, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001881/0.001881, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 71.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3453, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01352/0.3589, allocations: 11.28 MB / 0.5416 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.372, allocations: 11.78 MB / 0.5531 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.3723, allocations: 0 / 0.5531 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.3727, allocations: 83.47 kB / 0.5532 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009414/0.3821, allocations: 3.111 MB / 0.5562 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.3825, allocations: 154.2 kB / 0.5563 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005858/0.3884, allocations: 3.893 MB / 0.5601 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.582e-05/0.3885, allocations: 20.39 kB / 0.5602 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.3887, allocations: 139.5 kB / 0.5603 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009624/0.3984, allocations: 7.13 MB / 0.5673 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.3984, allocations: 8 kB / 0.5673 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005473/0.4039, allocations: 2.131 MB / 0.5693 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.404, allocations: 47.77 kB / 0.5694 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.4042, allocations: 127.4 kB / 0.5695 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004561/0.4088, allocations: 1.54 MB / 0.571 GB, free: 8.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4088, allocations: 0 / 0.571 GB, free: 8.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4088, allocations: 3.938 kB / 0.571 GB, free: 8.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.4088, allocations: 0 / 0.571 GB, free: 8.227 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.002335/0.4112, allocations: 0.9321 MB / 0.5719 GB, free: 7.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4112, allocations: 8.031 kB / 0.5719 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.112e-05/0.4113, allocations: 58.73 kB / 0.572 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006131/0.4119, allocations: 84.56 kB / 0.5721 GB, free: 7.094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.4123, allocations: 255.9 kB / 0.5723 GB, free: 6.805 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.4124, allocations: 16.94 kB / 0.5723 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.4124, allocations: 28.38 kB / 0.5724 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009548/0.4134, allocations: 489.4 kB / 0.5728 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4134, allocations: 0 / 0.5728 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.4134, allocations: 16 kB / 0.5728 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.4134, allocations: 8 kB / 0.5729 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.4145, allocations: 0.6812 MB / 0.5735 GB, free: 5.543 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.007216/0.4218, allocations: 4.296 MB / 0.5777 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.4223, allocations: 171 kB / 0.5779 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.982e-05/0.4224, allocations: 65.52 kB / 0.5779 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0285/0.4509, allocations: 16.4 MB / 0.594 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006983/0.4517, allocations: 318 kB / 0.5943 GB, free: 13.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.434e-06/0.4517, allocations: 0 / 0.5943 GB, free: 13.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001422/0.4531, allocations: 446.5 kB / 0.5947 GB, free: 13.19 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001951/0.4533, allocations: 482.7 kB / 0.5951 GB, free: 12.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.4535, allocations: 186 kB / 0.5953 GB, free: 12.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.4536, allocations: 37.69 kB / 0.5954 GB, free: 12.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.4537, allocations: 175.6 kB / 0.5955 GB, free: 12.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.4538, allocations: 102.6 kB / 0.5956 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.4539, allocations: 102 kB / 0.5957 GB, free: 11.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4541, allocations: 330.8 kB / 0.596 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.4542, allocations: 56.84 kB / 0.5961 GB, free: 11.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.4545, allocations: 314.7 kB / 0.5964 GB, free: 11.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.455, allocations: 421.4 kB / 0.5968 GB, free: 10.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.455, allocations: 4 kB / 0.5968 GB, free: 10.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00068/0.4557, allocations: 400.7 kB / 0.5972 GB, free: 10.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4557, allocations: 8 kB / 0.5972 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.4557, allocations: 12.78 kB / 0.5972 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.4558, allocations: 15.98 kB / 0.5972 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.4561, allocations: 111.8 kB / 0.5973 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.4561, allocations: 15.94 kB / 0.5973 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.4563, allocations: 51.47 kB / 0.5974 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.4564, allocations: 35.92 kB / 0.5974 GB, free: 9.996 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.0001529/0.4566, allocations: 149.7 kB / 0.5976 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.4567, allocations: 31.7 kB / 0.5976 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009869/0.4576, allocations: 0.7769 MB / 0.5983 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.4577, allocations: 4 kB / 0.5984 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4577, allocations: 4 kB / 0.5984 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4577, allocations: 7.875 kB / 0.5984 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.459, allocations: 1.229 MB / 0.5996 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.459, allocations: 4 kB / 0.5996 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.4591, allocations: 27.98 kB / 0.5996 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.4591, allocations: 3.938 kB / 0.5996 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.4591, allocations: 12 kB / 0.5996 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.4591, allocations: 7.922 kB / 0.5996 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4592, allocations: 4 kB / 0.5996 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.4596, allocations: 372.5 kB / 0.6 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.768e-05/0.4597, allocations: 104.8 kB / 0.6001 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/0.4598, allocations: 43.44 kB / 0.6001 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.46, allocations: 11.98 kB / 0.6001 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.4601, allocations: 15.92 kB / 0.6001 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.4601, allocations: 12 kB / 0.6002 GB, free: 6.934 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003209/0.4604, allocations: 298.9 kB / 0.6004 GB, free: 6.641 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4604, allocations: 4 kB / 0.6004 GB, free: 6.637 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001296/0.4617, allocations: 423.4 kB / 0.6008 GB, free: 6.223 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.002248/0.464, allocations: 1.434 MB / 0.6022 GB, free: 4.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004421/0.4645, allocations: 229.6 kB / 0.6025 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.4645, allocations: 4 kB / 0.6025 GB, free: 4.504 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.4646, allocations: 87.97 kB / 0.6026 GB, free: 4.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/0.4654, allocations: 106.7 kB / 0.6027 GB, free: 4.316 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.547/2.012, 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.0002183/2.012, allocations: 0.8148 MB / 1.185 GB, free: 218.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003699/2.013, allocations: 173 kB / 1.186 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/2.013, allocations: 149.8 kB / 1.186 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.012e-06/2.013, allocations: 0 / 1.186 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1419/2.155, allocations: 18.5 MB / 1.204 GB, free: 201.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.896/11.05, allocations: 8.812 kB / 1.204 GB, free: 201.5 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