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.001473/0.001473, allocations: 104 kB / 16.4 MB, free: 6.492 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.001696/0.001696, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.41/1.41, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2095/0.2095, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.001617/0.001617, allocations: 74.19 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1235, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4633/0.5868, allocations: 151.4 MB / 0.6352 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00945/0.5963, allocations: 6.984 MB / 0.6421 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.5966, allocations: 7.938 kB / 0.6421 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.597, allocations: 55.59 kB / 0.6421 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.6018, allocations: 1.432 MB / 0.6435 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.6022, allocations: 149.3 kB / 0.6437 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007147/0.6029, allocations: 386.2 kB / 0.644 GB, free: 10.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.373e-05/0.603, allocations: 21.69 kB / 0.644 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.6033, allocations: 171.3 kB / 0.6442 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.6037, allocations: 163.5 kB / 0.6444 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.6037, allocations: 8 kB / 0.6444 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.6067, allocations: 1.237 MB / 0.6456 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.6068, allocations: 43.77 kB / 0.6456 GB, free: 8.855 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.607, allocations: 107.5 kB / 0.6457 GB, free: 8.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002641/0.6097, allocations: 0.9691 MB / 0.6467 GB, free: 7.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6097, allocations: 0 / 0.6467 GB, free: 7.781 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6097, allocations: 0 / 0.6467 GB, free: 7.781 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.6097, allocations: 4 kB / 0.6467 GB, free: 7.777 MB / 494.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.001576/0.6113, allocations: 0.7139 MB / 0.6474 GB, free: 7.016 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.264e-05/0.6114, allocations: 11.89 kB / 0.6474 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.271e-05/0.6115, allocations: 62.73 kB / 0.6474 GB, free: 6.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007283/0.6188, allocations: 0.5901 MB / 0.648 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.6195, allocations: 260.1 kB / 0.6483 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.6196, allocations: 135.3 kB / 0.6484 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.6197, allocations: 20 kB / 0.6484 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.6209, allocations: 0.5633 MB / 0.649 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6209, allocations: 0 / 0.649 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/0.621, allocations: 11.98 kB / 0.649 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.621, allocations: 8 kB / 0.649 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.6225, allocations: 0.626 MB / 0.6496 GB, free: 4.629 MB / 494.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.002334/0.6248, allocations: 1.649 MB / 0.6512 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.6252, allocations: 158.4 kB / 0.6514 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.6254, allocations: 73.73 kB / 0.6514 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/0.627, allocations: 1.307 MB / 0.6527 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.6271, allocations: 38.56 kB / 0.6527 GB, free: 1.059 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 4.198e-06/0.6271, allocations: 7.922 kB / 0.6528 GB, free: 1.051 MB / 494.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.001181/0.6283, allocations: 335.8 kB / 0.6531 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.6283, allocations: 51.41 kB / 0.6531 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.6285, allocations: 187.3 kB / 0.6533 GB, free: 472 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.6286, allocations: 29.7 kB / 0.6533 GB, free: 436 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.6288, allocations: 191.1 kB / 0.6535 GB, free: 240 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.6288, allocations: 71.08 kB / 0.6536 GB, free: 168 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.629, allocations: 89.97 kB / 0.6537 GB, free: 72 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.6292, allocations: 326.8 kB / 0.654 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.6293, allocations: 64.72 kB / 0.654 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.6296, allocations: 271.8 kB / 0.6543 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.6301, allocations: 362.2 kB / 0.6546 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6301, allocations: 4 kB / 0.6546 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006222/0.6307, allocations: 370.5 kB / 0.655 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.6308, allocations: 8 kB / 0.655 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.6308, allocations: 4 kB / 0.655 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.6308, allocations: 15.94 kB / 0.655 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.6312, allocations: 123.8 kB / 0.6551 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004256/0.6317, allocations: 0.6021 MB / 0.6557 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.6319, allocations: 47.53 kB / 0.6558 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.632, allocations: 39.98 kB / 0.6558 GB, free: 13.64 MB / 0.4981 GB 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.0001865/0.6322, allocations: 153.5 kB / 0.656 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.6323, allocations: 15.81 kB / 0.656 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000642/0.6329, allocations: 303.8 kB / 0.6563 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6329, allocations: 4 kB / 0.6563 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6329, allocations: 0 / 0.6563 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.633, allocations: 0 / 0.6563 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/0.6337, allocations: 0.5139 MB / 0.6568 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.6337, allocations: 0 / 0.6568 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.6339, allocations: 61.09 kB / 0.6568 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.6339, allocations: 4 kB / 0.6568 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.634, allocations: 4 kB / 0.6568 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003851/0.6344, allocations: 0.6016 MB / 0.6574 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.6344, allocations: 4.031 kB / 0.6574 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.6347, allocations: 271.3 kB / 0.6577 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.6349, allocations: 112.8 kB / 0.6578 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.6349, allocations: 7.906 kB / 0.6578 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.6352, allocations: 19.98 kB / 0.6578 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.6352, allocations: 11.92 kB / 0.6578 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.6353, allocations: 23.98 kB / 0.6579 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001289/0.6354, allocations: 132.2 kB / 0.658 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6354, allocations: 4 kB / 0.658 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007566/0.6362, allocations: 192.1 kB / 0.6582 GB, free: 11.07 MB / 0.4981 GB 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.001292/0.6375, allocations: 1.02 MB / 0.6592 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005098/0.638, allocations: 220.7 kB / 0.6594 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.638, allocations: 4 kB / 0.6594 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.6382, allocations: 83.83 kB / 0.6595 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.6387, allocations: 71.09 kB / 0.6595 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/0.6443, allocations: 4.074 MB / 0.6635 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.6447, allocations: 0.7323 MB / 0.6642 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003909/0.6451, allocations: 106.2 kB / 0.6643 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.6452, allocations: 79.39 kB / 0.6644 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.6452, allocations: 0 / 0.6644 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.6743, allocations: 8.495 MB / 0.6727 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.81, allocations: 11.92 kB / 0.6727 GB, free: 11.83 MB / 0.5137 GB (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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches