Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007594/0.0007595, allocations: 94.75 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 168.9 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2016/0.2016, allocations: 44.27 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003454, allocations: 13.31 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01302/0.1299, allocations: 10.98 MB / 483.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.1435, allocations: 11.83 MB / 495.2 MB, free: 6.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.1438, allocations: 4 kB / 495.2 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.1443, allocations: 55.69 kB / 495.2 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.1544, allocations: 2.625 MB / 497.9 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.1549, allocations: 149 kB / 498 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006556/0.1614, allocations: 4.145 MB / 0.4904 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.102e-05/0.1616, allocations: 20.41 kB / 0.4904 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.1619, allocations: 135.5 kB / 0.4905 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01046/0.1723, allocations: 7.567 MB / 0.4979 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.1724, allocations: 8 kB / 0.4979 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00509/0.1775, allocations: 2.088 MB / 0.5 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1777, allocations: 47.77 kB / 0.5 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.1779, allocations: 149.1 kB / 0.5001 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004752/0.1827, allocations: 1.524 MB / 0.5016 GB, free: 3.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1827, allocations: 4 kB / 0.5016 GB, free: 3.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1827, allocations: 3.938 kB / 0.5016 GB, free: 3.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1827, allocations: 4 kB / 0.5016 GB, free: 3.809 MB / 382.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.002368/0.1851, allocations: 0.858 MB / 0.5025 GB, free: 2.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1851, allocations: 8.031 kB / 0.5025 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.1852, allocations: 74.66 kB / 0.5026 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005664/0.1858, allocations: 76.59 kB / 0.5026 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.1861, allocations: 251.9 kB / 0.5029 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.1862, allocations: 20.94 kB / 0.5029 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.1862, allocations: 24.38 kB / 0.5029 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/0.1872, allocations: 485.4 kB / 0.5034 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1872, allocations: 3.938 kB / 0.5034 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.1872, allocations: 15.98 kB / 0.5034 GB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1873, allocations: 8 kB / 0.5034 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.1883, allocations: 0.6812 MB / 0.5041 GB, free: 1.195 MB / 382.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.2458/0.4341, allocations: 3.076 MB / 0.5071 GB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/0.4348, allocations: 213.3 kB / 0.5073 GB, free: 34.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.435, allocations: 86.23 kB / 0.5074 GB, free: 34.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07308/0.5081, allocations: 30.61 MB / 0.5373 GB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00074/0.5088, allocations: 335.1 kB / 0.5376 GB, free: 17.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 4.228e-06/0.5089, allocations: 0 / 0.5376 GB, free: 17.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003006/0.5119, allocations: 0.9792 MB / 0.5385 GB, free: 16.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.512, allocations: 485.3 kB / 0.539 GB, free: 15.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.5122, allocations: 156.7 kB / 0.5392 GB, free: 15.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.5122, allocations: 29.52 kB / 0.5392 GB, free: 15.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.5123, allocations: 160.9 kB / 0.5393 GB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.946e-05/0.5124, allocations: 133.4 kB / 0.5395 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.5124, allocations: 41.33 kB / 0.5395 GB, free: 15.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.5125, allocations: 338.4 kB / 0.5398 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.5126, allocations: 73.45 kB / 0.5399 GB, free: 15.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.5128, allocations: 320.6 kB / 0.5402 GB, free: 14.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.5132, allocations: 446.4 kB / 0.5406 GB, free: 14.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.5132, allocations: 6.531 kB / 0.5406 GB, free: 14.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006232/0.5139, allocations: 449.1 kB / 0.5411 GB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5139, allocations: 8 kB / 0.5411 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.5139, allocations: 8 kB / 0.5411 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.5157, allocations: 307.2 kB / 0.5414 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.516, allocations: 101.8 kB / 0.5415 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004586/0.5164, allocations: 1.221 MB / 0.5427 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.5167, allocations: 23.3 kB / 0.5427 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.5168, allocations: 27.06 kB / 0.5427 GB, free: 12.27 MB / 382.1 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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.5169, allocations: 168.8 kB / 0.5429 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.517, allocations: 33.42 kB / 0.5429 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.5182, allocations: 1.054 MB / 0.5439 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.5183, allocations: 7.625 kB / 0.5439 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5183, allocations: 7.984 kB / 0.5439 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5183, allocations: 3.938 kB / 0.5439 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.5197, allocations: 1.541 MB / 0.5454 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.5197, allocations: 5.5 kB / 0.5455 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.5199, allocations: 48.69 kB / 0.5455 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.521, allocations: 241.2 kB / 0.5457 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.521, allocations: 11.92 kB / 0.5457 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004712/0.5215, allocations: 1.262 MB / 0.547 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.5215, allocations: 11.81 kB / 0.547 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/0.5221, allocations: 0.6068 MB / 0.5476 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.5223, allocations: 216.5 kB / 0.5478 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.5224, allocations: 11.75 kB / 0.5478 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.5226, allocations: 19.73 kB / 0.5478 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.5226, allocations: 26.84 kB / 0.5478 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.5227, allocations: 11.62 kB / 0.5479 GB, free: 7.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.5229, allocations: 277.3 kB / 0.5481 GB, free: 7.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5229, allocations: 0 / 0.5481 GB, free: 7.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001487/0.5244, allocations: 436.6 kB / 0.5485 GB, free: 7.121 MB / 382.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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002436/0.5269, allocations: 1.706 MB / 0.5502 GB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005287/0.5274, allocations: 362.8 kB / 0.5505 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.5274, allocations: 0 / 0.5505 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.5277, allocations: 233.1 kB / 0.5508 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009147/0.5286, allocations: 121.8 kB / 0.5509 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.046/1.575, allocations: 0.4933 GB / 1.044 GB, free: 47.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/1.575, allocations: 0.8311 MB / 1.045 GB, free: 46.34 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0004339/1.575, allocations: 159.2 kB / 1.045 GB, free: 46.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/1.575, allocations: 171.4 kB / 1.045 GB, free: 46.04 MB / 0.5138 GB Notification: Performance of SimCode: time 1.062e-06/1.575, allocations: 3.938 kB / 1.045 GB, free: 46.03 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/1.606, allocations: 19.4 MB / 1.064 GB, free: 26.92 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/1.606, allocations: 252.2 kB / 1.064 GB, free: 26.65 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/4.048, allocations: 4 kB / 1.064 GB, free: 26.64 MB / 0.5138 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches