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.001394/0.001394, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001385/0.001385, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.436/1.436, 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.2192/0.2192, allocations: 43.52 MB / 314.1 MB, free: 440 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.002253/0.002253, allocations: 73.61 kB / 441.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1164, allocations: 57.8 MB / 499.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4575/0.5739, allocations: 151.4 MB / 0.6353 GB, free: 3.422 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009276/0.5833, allocations: 6.971 MB / 0.6421 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.5835, allocations: 3.938 kB / 0.6421 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.5839, allocations: 55.66 kB / 0.6421 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004556/0.5885, allocations: 1.432 MB / 0.6435 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.5889, allocations: 141.3 kB / 0.6437 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006774/0.5896, allocations: 398.2 kB / 0.644 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.5896, allocations: 13.69 kB / 0.6441 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.5899, allocations: 167.3 kB / 0.6442 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.5903, allocations: 167.5 kB / 0.6444 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.5903, allocations: 8 kB / 0.6444 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/0.5934, allocations: 1.233 MB / 0.6456 GB, free: 8.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.5935, allocations: 51.75 kB / 0.6456 GB, free: 8.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.5937, allocations: 107.5 kB / 0.6457 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.5967, allocations: 0.9581 MB / 0.6467 GB, free: 7.734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.5968, allocations: 7.938 kB / 0.6467 GB, free: 7.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.701e-06/0.5968, allocations: 3.984 kB / 0.6467 GB, free: 7.723 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.5968, allocations: 0 / 0.6467 GB, free: 7.723 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.002381/0.5992, allocations: 0.7357 MB / 0.6474 GB, free: 6.938 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.5993, allocations: 11.89 kB / 0.6474 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.5994, allocations: 58.72 kB / 0.6475 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007454/0.6069, allocations: 0.598 MB / 0.6481 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006912/0.6076, allocations: 264.1 kB / 0.6483 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.6078, allocations: 127.3 kB / 0.6484 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.608, allocations: 20 kB / 0.6484 GB, free: 5.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.6094, allocations: 0.5556 MB / 0.649 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.6094, allocations: 7.938 kB / 0.649 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/0.6095, allocations: 8 kB / 0.649 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.6095, allocations: 8 kB / 0.649 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.6113, allocations: 0.6338 MB / 0.6496 GB, free: 4.547 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.002629/0.6139, allocations: 1.642 MB / 0.6512 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.6144, allocations: 158.5 kB / 0.6514 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.6145, allocations: 80.86 kB / 0.6515 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/0.6162, allocations: 1.303 MB / 0.6527 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.6162, allocations: 34.56 kB / 0.6528 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/0.6162, allocations: 3.938 kB / 0.6528 GB, free: 0.9805 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.001162/0.6174, allocations: 340 kB / 0.6531 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.6174, allocations: 55.41 kB / 0.6531 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.6177, allocations: 183.4 kB / 0.6533 GB, free: 396 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.6177, allocations: 33.7 kB / 0.6534 GB, free: 356 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.6179, allocations: 199.7 kB / 0.6535 GB, free: 152 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-05/0.6179, allocations: 67.44 kB / 0.6536 GB, free: 84 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.6181, allocations: 90 kB / 0.6537 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6183, allocations: 326.8 kB / 0.654 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.6184, allocations: 64.7 kB / 0.6541 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.6188, allocations: 267.8 kB / 0.6543 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.6193, allocations: 366.2 kB / 0.6547 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.6193, allocations: 0 / 0.6547 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006787/0.62, allocations: 372.9 kB / 0.655 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.6201, allocations: 8 kB / 0.655 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.6201, allocations: 9.484 kB / 0.655 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.6201, allocations: 12.66 kB / 0.6551 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.6205, allocations: 127.4 kB / 0.6552 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000453/0.621, allocations: 0.6055 MB / 0.6558 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.6213, allocations: 47.62 kB / 0.6558 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/0.6213, allocations: 47.92 kB / 0.6559 GB, free: 13.55 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.0001664/0.6215, allocations: 149.5 kB / 0.656 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.6216, allocations: 15.91 kB / 0.656 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006926/0.6223, allocations: 295.4 kB / 0.6563 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.6223, allocations: 4 kB / 0.6563 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.6223, allocations: 4 kB / 0.6563 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6223, allocations: 0 / 0.6563 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/0.6231, allocations: 0.5105 MB / 0.6568 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6231, allocations: 0 / 0.6568 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.6234, allocations: 59.89 kB / 0.6569 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.6234, allocations: 7.75 kB / 0.6569 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.6234, allocations: 15.94 kB / 0.6569 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004007/0.6238, allocations: 0.5938 MB / 0.6575 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.6238, allocations: 3.938 kB / 0.6575 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.6242, allocations: 271.4 kB / 0.6577 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.6244, allocations: 116.9 kB / 0.6578 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.6244, allocations: 0 / 0.6578 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.6247, allocations: 15.98 kB / 0.6579 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.6247, allocations: 15.98 kB / 0.6579 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.6248, allocations: 23.97 kB / 0.6579 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001364/0.6249, allocations: 140.2 kB / 0.658 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6249, allocations: 0 / 0.658 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007283/0.6257, allocations: 183.7 kB / 0.6582 GB, free: 10.99 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.001585/0.6272, allocations: 1.025 MB / 0.6592 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005852/0.6278, allocations: 228.1 kB / 0.6594 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.6279, allocations: 4 kB / 0.6594 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.6281, allocations: 81.27 kB / 0.6595 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.6286, allocations: 68.33 kB / 0.6596 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00609/0.6347, allocations: 4.101 MB / 0.6636 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.6352, allocations: 0.7245 MB / 0.6643 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004216/0.6357, allocations: 108 kB / 0.6644 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.6358, allocations: 75.41 kB / 0.6645 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.6359, allocations: 0 / 0.6645 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/0.6722, allocations: 8.446 MB / 0.6727 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.51, allocations: 9.078 kB / 0.6727 GB, free: 11.78 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