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.00113/0.00113, allocations: 105 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2389/0.2389, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 75.62 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1502, allocations: 62.44 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.015/0.1652, allocations: 11.28 MB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.1804, allocations: 11.72 MB / 0.4908 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003622/0.1809, allocations: 8 kB / 0.4908 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.1814, allocations: 59.67 kB / 0.4909 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01333/0.1948, allocations: 2.777 MB / 0.4936 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.1954, allocations: 151.1 kB / 0.4937 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008368/0.2038, allocations: 4.184 MB / 0.4978 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.204, allocations: 20.39 kB / 0.4978 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.2043, allocations: 143.5 kB / 0.498 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.305/0.5094, allocations: 7.718 MB / 0.5055 GB, free: 23.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.671e-05/0.5095, allocations: 8.781 kB / 0.5055 GB, free: 23.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007309/0.5168, allocations: 2.116 MB / 0.5076 GB, free: 23.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.517, allocations: 44.5 kB / 0.5076 GB, free: 23.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.5172, allocations: 129.6 kB / 0.5078 GB, free: 23.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004638/0.5219, allocations: 1.55 MB / 0.5093 GB, free: 23.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5219, allocations: 6 kB / 0.5093 GB, free: 23.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5219, allocations: 0 / 0.5093 GB, free: 23.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.5219, allocations: 0 / 0.5093 GB, free: 23.55 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.002436/0.5244, allocations: 0.9199 MB / 0.5102 GB, free: 23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.5244, allocations: 10.19 kB / 0.5102 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.151e-05/0.5245, allocations: 67.09 kB / 0.5102 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006563/0.5252, allocations: 78.73 kB / 0.5103 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.5256, allocations: 243.6 kB / 0.5106 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.5256, allocations: 19.62 kB / 0.5106 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.5256, allocations: 24.81 kB / 0.5106 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.5269, allocations: 490.1 kB / 0.5111 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.5269, allocations: 1.953 kB / 0.5111 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.527, allocations: 10.62 kB / 0.5111 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.527, allocations: 11.09 kB / 0.5111 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.5284, allocations: 0.6842 MB / 0.5118 GB, free: 22.62 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.00739/0.5358, allocations: 3.104 MB / 0.5148 GB, free: 21.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/0.5365, allocations: 216.1 kB / 0.515 GB, free: 20.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.5367, allocations: 77.59 kB / 0.5151 GB, free: 20.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07499/0.6117, allocations: 30.76 MB / 0.5451 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007074/0.6124, allocations: 342.6 kB / 0.5454 GB, free: 300 kB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.555e-06/0.6124, allocations: 0 / 0.5454 GB, free: 300 kB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003059/0.6155, allocations: 0.9731 MB / 0.5464 GB, free: 15.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002125/0.6157, allocations: 490.8 kB / 0.5469 GB, free: 14.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.6159, allocations: 147 kB / 0.547 GB, free: 14.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.6159, allocations: 37.77 kB / 0.547 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.616, allocations: 167.5 kB / 0.5472 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.6161, allocations: 131.4 kB / 0.5473 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.6163, allocations: 88.69 kB / 0.5474 GB, free: 14.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6164, allocations: 332.1 kB / 0.5477 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.6165, allocations: 71.7 kB / 0.5478 GB, free: 14.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.6169, allocations: 321.4 kB / 0.5481 GB, free: 13.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.6174, allocations: 448.7 kB / 0.5485 GB, free: 13.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.6174, allocations: 8 kB / 0.5485 GB, free: 13.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007174/0.6181, allocations: 448.8 kB / 0.549 GB, free: 12.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6181, allocations: 8 kB / 0.549 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.6182, allocations: 8.781 kB / 0.549 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/0.6203, allocations: 328.9 kB / 0.5493 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.6206, allocations: 106.5 kB / 0.5494 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007017/0.6213, allocations: 1.218 MB / 0.5506 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.6216, allocations: 27.84 kB / 0.5506 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.6216, allocations: 31.98 kB / 0.5506 GB, free: 11.12 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.0001655/0.6218, allocations: 164.2 kB / 0.5508 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.6219, allocations: 27.72 kB / 0.5508 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.6233, allocations: 1.046 MB / 0.5518 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.6234, allocations: 11.98 kB / 0.5519 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.6234, allocations: 3.938 kB / 0.5519 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.6234, allocations: 8.219 kB / 0.5519 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.625, allocations: 1.545 MB / 0.5534 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.6251, allocations: 7.938 kB / 0.5534 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.6252, allocations: 35.45 kB / 0.5534 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.6265, allocations: 248 kB / 0.5536 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.6266, allocations: 8 kB / 0.5537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007139/0.6273, allocations: 1.264 MB / 0.5549 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6273, allocations: 8.016 kB / 0.5549 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.6281, allocations: 0.6064 MB / 0.5555 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.872e-05/0.6282, allocations: 108.7 kB / 0.5556 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.811e-05/0.6283, allocations: 43.47 kB / 0.5556 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.6285, allocations: 19.89 kB / 0.5557 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.6286, allocations: 30.08 kB / 0.5557 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.6286, allocations: 12 kB / 0.5557 GB, free: 5.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003174/0.6289, allocations: 275.1 kB / 0.556 GB, free: 5.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6289, allocations: 0 / 0.556 GB, free: 5.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002068/0.631, allocations: 439.6 kB / 0.5564 GB, free: 4.98 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.002539/0.6336, allocations: 1.696 MB / 0.558 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007015/0.6343, allocations: 382.2 kB / 0.5584 GB, free: 2.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6343, allocations: 0 / 0.5584 GB, free: 2.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.6346, allocations: 239.6 kB / 0.5586 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008345/0.6354, allocations: 123.2 kB / 0.5587 GB, free: 2.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.148/1.783, allocations: 0.4951 GB / 1.054 GB, free: 61.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/1.784, allocations: 0.8274 MB / 1.055 GB, free: 60.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004632/1.784, allocations: 172 kB / 1.055 GB, free: 60.08 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/1.784, allocations: 167.4 kB / 1.055 GB, free: 59.92 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/1.784, allocations: 0 / 1.055 GB, free: 59.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/1.819, allocations: 19.8 MB / 1.074 GB, free: 40.39 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/1.819, allocations: 268.6 kB / 1.075 GB, free: 40.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/4.425, allocations: 0 / 1.075 GB, free: 40.09 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