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.001358/0.001358, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 75.62 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1611, allocations: 62.45 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01523/0.1764, allocations: 11.5 MB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.1904, allocations: 12.06 MB / 0.4912 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.1907, allocations: 0 / 0.4912 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.1912, allocations: 63.67 kB / 0.4912 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.2029, allocations: 2.633 MB / 0.4938 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.2034, allocations: 150.6 kB / 0.4939 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008493/0.2119, allocations: 4.149 MB / 0.498 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.2121, allocations: 12.41 kB / 0.498 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004571/0.2125, allocations: 139.5 kB / 0.4981 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3089/0.5214, allocations: 7.555 MB / 0.5055 GB, free: 23.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.095e-05/0.5216, allocations: 10.34 kB / 0.5055 GB, free: 23.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006946/0.5285, allocations: 2.087 MB / 0.5076 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.5287, allocations: 44.83 kB / 0.5076 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.529, allocations: 125 kB / 0.5077 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005273/0.5343, allocations: 1.545 MB / 0.5092 GB, free: 22.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5343, allocations: 3.875 kB / 0.5092 GB, free: 22.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5343, allocations: 0 / 0.5092 GB, free: 22.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.5343, allocations: 0 / 0.5092 GB, free: 22.96 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.002575/0.5369, allocations: 0.9185 MB / 0.5101 GB, free: 22.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.537, allocations: 13.11 kB / 0.5101 GB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.96e-05/0.537, allocations: 63.08 kB / 0.5102 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006119/0.5376, allocations: 77.83 kB / 0.5103 GB, free: 22.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.5379, allocations: 243.6 kB / 0.5105 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.5379, allocations: 19.72 kB / 0.5105 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.538, allocations: 31.69 kB / 0.5106 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.539, allocations: 482.3 kB / 0.511 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.539, allocations: 6.688 kB / 0.511 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.5391, allocations: 14.16 kB / 0.511 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.5391, allocations: 8.938 kB / 0.5111 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.5403, allocations: 0.6816 MB / 0.5117 GB, free: 22.04 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.006898/0.5472, allocations: 3.099 MB / 0.5147 GB, free: 20.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000704/0.548, allocations: 215.8 kB / 0.5149 GB, free: 20.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.5481, allocations: 75.03 kB / 0.515 GB, free: 20.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07625/0.6244, allocations: 30.77 MB / 0.5451 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008405/0.6252, allocations: 345.8 kB / 0.5454 GB, free: 15.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 3.256e-06/0.6253, allocations: 0 / 0.5454 GB, free: 15.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003512/0.6288, allocations: 0.9641 MB / 0.5463 GB, free: 15.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003013/0.6291, allocations: 491.8 kB / 0.5468 GB, free: 14.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.6293, allocations: 145.2 kB / 0.5469 GB, free: 14.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/0.6293, allocations: 37.2 kB / 0.547 GB, free: 14.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.6294, allocations: 166.8 kB / 0.5471 GB, free: 14.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.6296, allocations: 135.6 kB / 0.5473 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.6297, allocations: 94.61 kB / 0.5474 GB, free: 13.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.6299, allocations: 325 kB / 0.5477 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.63, allocations: 73.95 kB / 0.5477 GB, free: 13.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.6305, allocations: 322.6 kB / 0.548 GB, free: 13.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007987/0.6313, allocations: 449.2 kB / 0.5485 GB, free: 12.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.6314, allocations: 4 kB / 0.5485 GB, free: 12.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009976/0.6324, allocations: 446.9 kB / 0.5489 GB, free: 12.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.6324, allocations: 9.969 kB / 0.5489 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.6324, allocations: 8.875 kB / 0.5489 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/0.6347, allocations: 320.1 kB / 0.5492 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.635, allocations: 112.8 kB / 0.5493 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008917/0.6359, allocations: 1.217 MB / 0.5505 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.6363, allocations: 19.78 kB / 0.5505 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/0.6364, allocations: 39.86 kB / 0.5506 GB, free: 10.76 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.0002688/0.6367, allocations: 163.6 kB / 0.5507 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.6368, allocations: 31.7 kB / 0.5508 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.6384, allocations: 1.043 MB / 0.5518 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.6384, allocations: 14.34 kB / 0.5518 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.6384, allocations: 3.938 kB / 0.5518 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.6384, allocations: 7.984 kB / 0.5518 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.6402, allocations: 1.545 MB / 0.5533 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.6402, allocations: 7.938 kB / 0.5533 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.6404, allocations: 39.64 kB / 0.5534 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.6417, allocations: 243.6 kB / 0.5536 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.6417, allocations: 8 kB / 0.5536 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007098/0.6424, allocations: 1.278 MB / 0.5549 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6424, allocations: 4 kB / 0.5549 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007868/0.6432, allocations: 0.6094 MB / 0.5555 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.6434, allocations: 104.7 kB / 0.5556 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.6435, allocations: 51.45 kB / 0.5556 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.6438, allocations: 15.91 kB / 0.5556 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.6438, allocations: 19.97 kB / 0.5556 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.6439, allocations: 16 kB / 0.5556 GB, free: 5.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003373/0.6442, allocations: 275.1 kB / 0.5559 GB, free: 5.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.6442, allocations: 0 / 0.5559 GB, free: 5.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002436/0.6467, allocations: 442.8 kB / 0.5563 GB, free: 4.723 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.0038/0.6505, allocations: 1.692 MB / 0.558 GB, free: 3.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007449/0.6512, allocations: 374.4 kB / 0.5583 GB, free: 2.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.6513, allocations: 0 / 0.5583 GB, free: 2.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.6516, allocations: 225.5 kB / 0.5586 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.6525, allocations: 122 kB / 0.5587 GB, free: 2.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.202/1.854, allocations: 0.4951 GB / 1.054 GB, free: 60.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/1.854, allocations: 0.8313 MB / 1.055 GB, free: 59.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000468/1.855, allocations: 165.2 kB / 1.055 GB, free: 59.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/1.855, allocations: 163.4 kB / 1.055 GB, free: 59.66 MB / 0.5294 GB Notification: Performance of SimCode: time 2.254e-06/1.855, allocations: 0 / 1.055 GB, free: 59.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/1.893, allocations: 19.5 MB / 1.074 GB, free: 40.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/1.893, allocations: 269.3 kB / 1.074 GB, free: 40.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/4.57, allocations: 0 / 1.074 GB, free: 40.12 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