Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001507/0.001507, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002291/0.002292, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 75.41 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1053, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01265/0.118, allocations: 11.28 MB / 491.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.1316, allocations: 11.78 MB / 0.4914 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003747/0.1322, allocations: 4 kB / 0.4914 GB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.1326, allocations: 75.5 kB / 0.4915 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.1438, allocations: 3.109 MB / 0.4945 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.1443, allocations: 162.2 kB / 0.4947 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005733/0.15, allocations: 3.893 MB / 0.4985 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.1501, allocations: 20.39 kB / 0.4985 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.1504, allocations: 135.5 kB / 0.4986 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2497/0.4001, allocations: 7.127 MB / 0.5056 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.917e-05/0.4002, allocations: 8.656 kB / 0.5056 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005695/0.4059, allocations: 2.073 MB / 0.5076 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.855e-05/0.406, allocations: 46.8 kB / 0.5077 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.4063, allocations: 126.8 kB / 0.5078 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005734/0.412, allocations: 1.534 MB / 0.5093 GB, free: 22.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.412, allocations: 1.766 kB / 0.5093 GB, free: 22.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.412, allocations: 3 kB / 0.5093 GB, free: 22.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.4121, allocations: 0 / 0.5093 GB, free: 22.93 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.002527/0.4146, allocations: 0.9271 MB / 0.5102 GB, free: 22.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.4147, allocations: 8.781 kB / 0.5102 GB, free: 22.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.75e-05/0.4148, allocations: 63.77 kB / 0.5102 GB, free: 22.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006265/0.4154, allocations: 79.77 kB / 0.5103 GB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.4158, allocations: 246.2 kB / 0.5106 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.4158, allocations: 19.16 kB / 0.5106 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.4159, allocations: 29.41 kB / 0.5106 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.4169, allocations: 480.3 kB / 0.5111 GB, free: 22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.4169, allocations: 3.891 kB / 0.5111 GB, free: 22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.4169, allocations: 18.52 kB / 0.5111 GB, free: 22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.417, allocations: 10.91 kB / 0.5111 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.4181, allocations: 0.6814 MB / 0.5118 GB, free: 21.99 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.006805/0.4249, allocations: 3.093 MB / 0.5148 GB, free: 20.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.4256, allocations: 225.2 kB / 0.515 GB, free: 20.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.4257, allocations: 72.97 kB / 0.5151 GB, free: 20.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0724/0.4981, allocations: 30.77 MB / 0.5451 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007589/0.4989, allocations: 350.6 kB / 0.5454 GB, free: 15.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.454e-06/0.4989, allocations: 4 kB / 0.5455 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003374/0.5023, allocations: 0.9702 MB / 0.5464 GB, free: 15.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002252/0.5026, allocations: 481.2 kB / 0.5469 GB, free: 14.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.5027, allocations: 157.8 kB / 0.547 GB, free: 14.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.5028, allocations: 29.64 kB / 0.547 GB, free: 14.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.5029, allocations: 170.3 kB / 0.5472 GB, free: 14.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/0.503, allocations: 128.7 kB / 0.5473 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.5031, allocations: 88.05 kB / 0.5474 GB, free: 13.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5032, allocations: 326.3 kB / 0.5477 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.5034, allocations: 79.64 kB / 0.5478 GB, free: 13.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.5037, allocations: 315.1 kB / 0.5481 GB, free: 13.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.5043, allocations: 450.4 kB / 0.5485 GB, free: 12.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5044, allocations: 4 kB / 0.5485 GB, free: 12.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008348/0.5052, allocations: 451.1 kB / 0.549 GB, free: 12.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.5052, allocations: 8 kB / 0.549 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.5053, allocations: 8 kB / 0.549 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.5073, allocations: 330.8 kB / 0.5493 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.5076, allocations: 109 kB / 0.5494 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009056/0.5086, allocations: 1.218 MB / 0.5506 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.5088, allocations: 27.84 kB / 0.5506 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.5089, allocations: 28 kB / 0.5506 GB, free: 10.65 MB / 398.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.0001809/0.5091, allocations: 162.6 kB / 0.5508 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.5092, allocations: 27.72 kB / 0.5508 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.5106, allocations: 1.059 MB / 0.5518 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.5106, allocations: 11.98 kB / 0.5519 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5106, allocations: 3.938 kB / 0.5519 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.5106, allocations: 4 kB / 0.5519 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.5123, allocations: 1.543 MB / 0.5534 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.5123, allocations: 7.938 kB / 0.5534 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.5124, allocations: 39.16 kB / 0.5534 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.5137, allocations: 235.5 kB / 0.5536 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.5137, allocations: 11.98 kB / 0.5537 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006689/0.5144, allocations: 1.268 MB / 0.5549 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.477e-05/0.5144, allocations: 8.109 kB / 0.5549 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006892/0.5151, allocations: 0.6099 MB / 0.5555 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.5152, allocations: 104.8 kB / 0.5556 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.5153, allocations: 51.31 kB / 0.5556 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.5155, allocations: 19.98 kB / 0.5557 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.5156, allocations: 19.36 kB / 0.5557 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.5156, allocations: 15.98 kB / 0.5557 GB, free: 5.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002867/0.5159, allocations: 271.1 kB / 0.556 GB, free: 4.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5159, allocations: 1.969 kB / 0.556 GB, free: 4.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001873/0.5178, allocations: 435.6 kB / 0.5564 GB, free: 4.516 MB / 398.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.003141/0.5209, allocations: 1.7 MB / 0.558 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006876/0.5216, allocations: 382.2 kB / 0.5584 GB, free: 2.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.5216, allocations: 4.062 kB / 0.5584 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.5219, allocations: 242.2 kB / 0.5586 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.5228, allocations: 122.8 kB / 0.5588 GB, free: 2.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.05/1.572, allocations: 0.4949 GB / 1.054 GB, free: 55.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/1.573, allocations: 0.8313 MB / 1.055 GB, free: 54.17 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004306/1.573, allocations: 172.4 kB / 1.055 GB, free: 54.03 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/1.573, allocations: 163.4 kB / 1.055 GB, free: 53.88 MB / 0.5294 GB Notification: Performance of SimCode: time 5.1e-07/1.573, allocations: 0 / 1.055 GB, free: 53.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/1.61, allocations: 19.9 MB / 1.074 GB, free: 34.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.98, allocations: 10.38 kB / 1.074 GB, free: 34.25 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches