Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa",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.001311/0.001311, allocations: 106.3 kB / 15.98 MB, free: 6.348 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.00141/0.00141, allocations: 189.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3846/0.3846, allocations: 43.5 MB / 313.6 MB, free: 8.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 70.55 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1461, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.456/0.6021, allocations: 149.2 MB / 0.5755 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008624/0.6108, allocations: 6.965 MB / 0.5823 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.611, allocations: 4 kB / 0.5823 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.6114, allocations: 47.73 kB / 0.5824 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004815/0.6162, allocations: 1.303 MB / 0.5837 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.6166, allocations: 147.2 kB / 0.5838 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005752/0.6172, allocations: 386.7 kB / 0.5842 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.6173, allocations: 20.28 kB / 0.5842 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.6175, allocations: 175.3 kB / 0.5843 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.6179, allocations: 179.5 kB / 0.5845 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.6179, allocations: 8 kB / 0.5845 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.6206, allocations: 1.182 MB / 0.5857 GB, free: 12.37 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.6208, allocations: 51.75 kB / 0.5857 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.6209, allocations: 111.5 kB / 0.5858 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.6234, allocations: 0.9706 MB / 0.5868 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6234, allocations: 0 / 0.5868 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6234, allocations: 4 kB / 0.5868 GB, free: 11.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.6234, allocations: 0 / 0.5868 GB, free: 11.23 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001453/0.6249, allocations: 0.7177 MB / 0.5875 GB, free: 10.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.6249, allocations: 11.89 kB / 0.5875 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.113e-05/0.625, allocations: 62.73 kB / 0.5876 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007322/0.6323, allocations: 0.5874 MB / 0.5881 GB, free: 9.805 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.6329, allocations: 272 kB / 0.5884 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.6331, allocations: 127.3 kB / 0.5885 GB, free: 9.352 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.6332, allocations: 20 kB / 0.5885 GB, free: 9.332 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.6344, allocations: 0.5595 MB / 0.5891 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.6344, allocations: 0 / 0.5891 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.6345, allocations: 12.5 kB / 0.5891 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.6345, allocations: 8 kB / 0.5891 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.6359, allocations: 0.6299 MB / 0.5897 GB, free: 8.09 MB / 462.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.002341/0.6383, allocations: 1.644 MB / 0.5913 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.6386, allocations: 158.5 kB / 0.5915 GB, free: 6.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.6388, allocations: 77.55 kB / 0.5915 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/0.6401, allocations: 1.306 MB / 0.5928 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.6402, allocations: 38.56 kB / 0.5929 GB, free: 4.543 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.6402, allocations: 0 / 0.5929 GB, free: 4.543 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001088/0.6413, allocations: 329.2 kB / 0.5932 GB, free: 4.215 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.6413, allocations: 51.41 kB / 0.5932 GB, free: 4.152 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.6415, allocations: 191.3 kB / 0.5934 GB, free: 3.953 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.6416, allocations: 37.64 kB / 0.5934 GB, free: 3.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.6417, allocations: 191.1 kB / 0.5936 GB, free: 3.719 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.6417, allocations: 67.09 kB / 0.5937 GB, free: 3.652 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.6419, allocations: 89.95 kB / 0.5938 GB, free: 3.559 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.642, allocations: 322.8 kB / 0.5941 GB, free: 3.234 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.6421, allocations: 68.7 kB / 0.5941 GB, free: 3.168 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.6424, allocations: 275.7 kB / 0.5944 GB, free: 2.805 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.643, allocations: 363.3 kB / 0.5948 GB, free: 2.355 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.643, allocations: 1.375 kB / 0.5948 GB, free: 2.355 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005818/0.6436, allocations: 372.8 kB / 0.5951 GB, free: 1.984 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.6436, allocations: 9.406 kB / 0.5951 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6436, allocations: 8 kB / 0.5951 GB, free: 1.969 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.6437, allocations: 16.7 kB / 0.5951 GB, free: 1.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.6441, allocations: 119.9 kB / 0.5953 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004432/0.6445, allocations: 0.6055 MB / 0.5959 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.6448, allocations: 43.59 kB / 0.5959 GB, free: 1.164 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.6448, allocations: 40 kB / 0.5959 GB, free: 1.125 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.645, allocations: 159.7 kB / 0.5961 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.6451, allocations: 23.91 kB / 0.5961 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007143/0.6458, allocations: 287.9 kB / 0.5964 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6458, allocations: 4 kB / 0.5964 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6458, allocations: 0 / 0.5964 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.6458, allocations: 3.984 kB / 0.5964 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008161/0.6466, allocations: 0.5202 MB / 0.5969 GB, free: 56 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6467, allocations: 128 / 0.5969 GB, free: 56 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.6469, allocations: 56.08 kB / 0.5969 GB, free: 16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.6469, allocations: 11.92 kB / 0.597 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.6469, allocations: 8 kB / 0.597 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004262/0.6474, allocations: 0.5925 MB / 0.5975 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6474, allocations: 0 / 0.5975 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.6478, allocations: 274.7 kB / 0.5978 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.6479, allocations: 112.8 kB / 0.5979 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.6479, allocations: 7.844 kB / 0.5979 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.6482, allocations: 15.98 kB / 0.5979 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.6482, allocations: 15.98 kB / 0.598 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.6483, allocations: 16 kB / 0.598 GB, free: 14.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.6484, allocations: 140.1 kB / 0.5981 GB, free: 14.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6484, allocations: 0 / 0.5981 GB, free: 14.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000772/0.6492, allocations: 188.1 kB / 0.5983 GB, free: 14.56 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00143/0.6506, allocations: 1.021 MB / 0.5993 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005526/0.6512, allocations: 229.4 kB / 0.5995 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6512, allocations: 0 / 0.5995 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.6514, allocations: 79.89 kB / 0.5996 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.6519, allocations: 62.81 kB / 0.5996 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/0.6577, allocations: 4.166 MB / 0.6037 GB, free: 8.727 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.658, allocations: 0.7285 MB / 0.6044 GB, free: 7.973 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005794/0.6586, allocations: 105.8 kB / 0.6045 GB, free: 7.871 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.6588, allocations: 75.39 kB / 0.6046 GB, free: 7.797 MB / 478.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6588, allocations: 0 / 0.6046 GB, free: 7.797 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.681, allocations: 8.26 MB / 0.6127 GB, free: 15.59 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/0.6813, allocations: 278.9 kB / 0.6129 GB, free: 15.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/2.819, allocations: 0 / 0.6129 GB, free: 15.22 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches