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.001518/0.001519, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001878/0.001878, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3586, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01222/0.3709, allocations: 11.29 MB / 0.5416 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.3838, allocations: 11.78 MB / 0.5531 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.384, allocations: 4 kB / 0.5531 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.3844, allocations: 63.56 kB / 0.5532 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.3948, allocations: 3.127 MB / 0.5562 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.3952, allocations: 146.9 kB / 0.5563 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005035/0.4002, allocations: 3.893 MB / 0.5601 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.994e-05/0.4003, allocations: 16.41 kB / 0.5602 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.4005, allocations: 147.5 kB / 0.5603 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008716/0.4092, allocations: 7.122 MB / 0.5673 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.977e-05/0.4093, allocations: 12 kB / 0.5673 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006384/0.4157, allocations: 2.111 MB / 0.5693 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.62e-05/0.4158, allocations: 43.83 kB / 0.5694 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.416, allocations: 131.3 kB / 0.5695 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003786/0.4198, allocations: 1.536 MB / 0.571 GB, free: 8.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4198, allocations: 0 / 0.571 GB, free: 8.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.4198, allocations: 0 / 0.571 GB, free: 8.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.4198, allocations: 3.938 kB / 0.571 GB, free: 8.234 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.002254/0.4221, allocations: 0.9243 MB / 0.5719 GB, free: 7.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.4222, allocations: 12.03 kB / 0.5719 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.655e-05/0.4223, allocations: 62.72 kB / 0.572 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005709/0.4228, allocations: 72.69 kB / 0.572 GB, free: 7.109 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.4232, allocations: 244 kB / 0.5723 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.4232, allocations: 24.88 kB / 0.5723 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.4233, allocations: 24.38 kB / 0.5723 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009404/0.4242, allocations: 497.3 kB / 0.5728 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4243, allocations: 0 / 0.5728 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.4243, allocations: 12 kB / 0.5728 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4243, allocations: 4 kB / 0.5728 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.4254, allocations: 0.689 MB / 0.5735 GB, free: 5.559 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.006227/0.4316, allocations: 3.099 MB / 0.5765 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.4323, allocations: 212.2 kB / 0.5767 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.4324, allocations: 81.38 kB / 0.5768 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07874/0.5112, allocations: 30.76 MB / 0.6068 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008209/0.512, allocations: 350.5 kB / 0.6072 GB, free: 428 kB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.796e-06/0.512, allocations: 0 / 0.6072 GB, free: 428 kB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.00319/0.5152, allocations: 0.9737 MB / 0.6081 GB, free: 15.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002624/0.5155, allocations: 483.4 kB / 0.6086 GB, free: 14.85 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.5157, allocations: 163.6 kB / 0.6087 GB, free: 14.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.5158, allocations: 33.7 kB / 0.6088 GB, free: 14.64 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5159, allocations: 156 kB / 0.6089 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.516, allocations: 134.1 kB / 0.609 GB, free: 14.35 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.5161, allocations: 94.14 kB / 0.6091 GB, free: 14.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.5162, allocations: 330.8 kB / 0.6095 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.5164, allocations: 73.08 kB / 0.6095 GB, free: 13.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.5167, allocations: 330.1 kB / 0.6098 GB, free: 13.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.5172, allocations: 448 kB / 0.6103 GB, free: 12.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.5172, allocations: 4 kB / 0.6103 GB, free: 12.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000763/0.518, allocations: 438.7 kB / 0.6107 GB, free: 12.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.518, allocations: 12 kB / 0.6107 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.518, allocations: 8 kB / 0.6107 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/0.5201, allocations: 318 kB / 0.611 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.5205, allocations: 111.7 kB / 0.6111 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006602/0.5211, allocations: 1.219 MB / 0.6123 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.5214, allocations: 19.84 kB / 0.6123 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.5214, allocations: 39.92 kB / 0.6124 GB, free: 10.64 MB / 478.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.0001662/0.5216, allocations: 161.5 kB / 0.6125 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.324e-05/0.5217, allocations: 27.81 kB / 0.6125 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.523, allocations: 1.039 MB / 0.6136 GB, free: 9.363 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.523, allocations: 15.86 kB / 0.6136 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.523, allocations: 8 kB / 0.6136 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.523, allocations: 0 / 0.6136 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.5246, allocations: 1.556 MB / 0.6151 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5247, allocations: 0 / 0.6151 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.5248, allocations: 43.92 kB / 0.6151 GB, free: 7.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.5261, allocations: 249.5 kB / 0.6154 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.5261, allocations: 4 kB / 0.6154 GB, free: 7.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007996/0.5269, allocations: 1.27 MB / 0.6166 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5269, allocations: 4 kB / 0.6166 GB, free: 6.02 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007347/0.5276, allocations: 0.6065 MB / 0.6172 GB, free: 5.363 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.611e-05/0.5277, allocations: 104.7 kB / 0.6173 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/0.5278, allocations: 43.44 kB / 0.6174 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.5281, allocations: 15.98 kB / 0.6174 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.5281, allocations: 28 kB / 0.6174 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.5282, allocations: 15.94 kB / 0.6174 GB, free: 5.141 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002959/0.5285, allocations: 275.1 kB / 0.6177 GB, free: 4.871 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5285, allocations: 4 kB / 0.6177 GB, free: 4.867 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00144/0.5299, allocations: 439.6 kB / 0.6181 GB, free: 4.438 MB / 478.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.002409/0.5323, allocations: 1.697 MB / 0.6198 GB, free: 2.672 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006567/0.533, allocations: 363.6 kB / 0.6201 GB, free: 2.312 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.533, allocations: 0 / 0.6201 GB, free: 2.312 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.5333, allocations: 235 kB / 0.6203 GB, free: 2.078 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.5341, allocations: 130.1 kB / 0.6205 GB, free: 1.945 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.128/1.662, allocations: 0.4949 GB / 1.115 GB, free: 60.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/1.662, allocations: 0.8313 MB / 1.116 GB, free: 59.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003336/1.663, allocations: 164.9 kB / 1.116 GB, free: 59.61 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/1.663, allocations: 163.4 kB / 1.116 GB, free: 59.45 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/1.663, allocations: 0 / 1.116 GB, free: 59.45 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/1.699, allocations: 20.21 MB / 1.136 GB, free: 39.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.94, allocations: 10.75 kB / 1.136 GB, free: 39.47 MB / 0.6075 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