Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_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.000838/0.000838, allocations: 102.4 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008632/0.0008633, allocations: 183.8 kB / 16.92 MB, free: 6.691 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.606/1.606, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.405/0.405, allocations: 43.57 MB / 315 MB, free: 9.043 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.0004941/0.0004941, allocations: 14.66 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1142, allocations: 58.87 MB / 443.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3914/0.5057, allocations: 148.9 MB / 0.5786 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004839/0.5106, allocations: 3.675 MB / 0.5822 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.5107, allocations: 5.062 kB / 0.5822 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.5109, allocations: 47.8 kB / 0.5822 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.5109, allocations: 27.77 kB / 0.5823 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.5122, allocations: 375.4 kB / 0.5826 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.5123, allocations: 67.59 kB / 0.5827 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.5124, allocations: 11.98 kB / 0.5827 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.29e-05/0.5125, allocations: 23.88 kB / 0.5827 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.5125, allocations: 31.91 kB / 0.5828 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.5126, allocations: 0 / 0.5828 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.5137, allocations: 0.491 MB / 0.5832 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.5137, allocations: 7.938 kB / 0.5832 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.5138, allocations: 53.56 kB / 0.5833 GB, free: 1.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.5143, allocations: 312.5 kB / 0.5836 GB, free: 1.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5143, allocations: 4 kB / 0.5836 GB, free: 1.297 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5143, allocations: 0 / 0.5836 GB, free: 1.297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.5144, allocations: 0 / 0.5836 GB, free: 1.297 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005789/0.5149, allocations: 407.1 kB / 0.584 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.515, allocations: 8.031 kB / 0.584 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.515, allocations: 30.75 kB / 0.584 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.5151, allocations: 8.844 kB / 0.584 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.5152, allocations: 183.5 kB / 0.5842 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.5152, allocations: 0 / 0.5842 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.5153, allocations: 8 kB / 0.5842 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.5154, allocations: 65.67 kB / 0.5843 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5154, allocations: 7.906 kB / 0.5843 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.5154, allocations: 3.938 kB / 0.5843 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.5155, allocations: 4.812 kB / 0.5843 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/0.5155, allocations: 55.89 kB / 0.5843 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.516, allocations: 369.9 kB / 0.5847 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.5162, allocations: 66.48 kB / 0.5848 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.5162, allocations: 20.86 kB / 0.5848 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/0.5181, allocations: 1.236 MB / 0.586 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.5181, allocations: 38.5 kB / 0.586 GB, free: 14.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.5182, allocations: 0 / 0.586 GB, free: 14.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007048/0.5252, allocations: 0.6704 MB / 0.5867 GB, free: 13.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.5253, allocations: 55.41 kB / 0.5867 GB, free: 13.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/0.5254, allocations: 103.4 kB / 0.5868 GB, free: 13.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.5254, allocations: 25.7 kB / 0.5869 GB, free: 13.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.5255, allocations: 96.31 kB / 0.5869 GB, free: 13.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.5255, allocations: 47.3 kB / 0.587 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.5256, allocations: 21.72 kB / 0.587 GB, free: 13.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5257, allocations: 318.8 kB / 0.5873 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.5259, allocations: 79.94 kB / 0.5874 GB, free: 12.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.5261, allocations: 106.5 kB / 0.5875 GB, free: 12.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.5266, allocations: 206.5 kB / 0.5877 GB, free: 12.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5266, allocations: 0 / 0.5877 GB, free: 12.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000553/0.5271, allocations: 249.2 kB / 0.5879 GB, free: 12.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.5272, allocations: 8 kB / 0.5879 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5272, allocations: 0 / 0.5879 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.5272, allocations: 0 / 0.5879 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006852/0.5279, allocations: 52.5 kB / 0.588 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.5279, allocations: 4.062 kB / 0.588 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.5285, allocations: 16 kB / 0.588 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.5285, allocations: 11.97 kB / 0.588 GB, free: 12.27 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.5287, allocations: 117.8 kB / 0.5881 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.5287, allocations: 15.84 kB / 0.5881 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007972/0.5295, allocations: 349 kB / 0.5885 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.5295, allocations: 0 / 0.5885 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5295, allocations: 3.125 kB / 0.5885 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5296, allocations: 0 / 0.5885 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.5306, allocations: 0.7777 MB / 0.5892 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5307, allocations: 0 / 0.5892 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/0.5313, allocations: 43.91 kB / 0.5893 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5313, allocations: 0 / 0.5893 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.5313, allocations: 11.98 kB / 0.5893 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.5313, allocations: 0 / 0.5893 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5314, allocations: 0 / 0.5893 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.5319, allocations: 363.2 kB / 0.5896 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.532, allocations: 104.9 kB / 0.5897 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.5321, allocations: 4 kB / 0.5897 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005595/0.5326, allocations: 8 kB / 0.5898 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.5327, allocations: 15.97 kB / 0.5898 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.5328, allocations: 15.92 kB / 0.5898 GB, free: 10.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.86e-05/0.5328, allocations: 79.28 kB / 0.5899 GB, free: 10.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5328, allocations: 4 kB / 0.5899 GB, free: 10.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004563/0.5333, allocations: 103.9 kB / 0.59 GB, free: 10.16 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001202/0.5345, allocations: 1.005 MB / 0.5909 GB, free: 9.121 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005177/0.535, allocations: 209.5 kB / 0.5911 GB, free: 8.918 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.535, allocations: 0 / 0.5911 GB, free: 8.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.5353, allocations: 127.9 kB / 0.5913 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.5357, allocations: 31.91 kB / 0.5913 GB, free: 8.762 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.5366, allocations: 366.3 kB / 0.5916 GB, free: 8.371 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5369, allocations: 0.6933 MB / 0.5923 GB, free: 7.652 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004614/0.5374, allocations: 70.56 kB / 0.5924 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.5376, allocations: 47.38 kB / 0.5924 GB, free: 7.543 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5377, allocations: 0 / 0.5924 GB, free: 7.543 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.5566, allocations: 7.225 MB / 0.5995 GB, free: 376 kB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/0.5568, allocations: 190.5 kB / 0.5997 GB, free: 116 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.49, allocations: 0 / 0.5997 GB, free: 116 kB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches