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.001175/0.001175, allocations: 100.7 kB / 16.26 MB, free: 5.93 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.00135/0.00135, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.591/1.591, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.23/0.23, allocations: 43.51 MB / 313.9 MB, free: 0.5234 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.001494/0.001494, allocations: 68.47 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1132, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4282/0.5415, allocations: 153.1 MB / 0.5798 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00424/0.5458, allocations: 3.628 MB / 0.5834 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.5459, allocations: 0 / 0.5834 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.5461, allocations: 45.08 kB / 0.5834 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.5462, allocations: 26.16 kB / 0.5834 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.5478, allocations: 432.3 kB / 0.5838 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.5479, allocations: 73.75 kB / 0.5839 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.548, allocations: 2.75 kB / 0.5839 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.815e-05/0.5481, allocations: 37.06 kB / 0.5839 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.358e-05/0.5482, allocations: 29 kB / 0.584 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.5482, allocations: 1.812 kB / 0.584 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.5494, allocations: 0.4915 MB / 0.5845 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.5495, allocations: 6.5 kB / 0.5845 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.5495, allocations: 31.36 kB / 0.5845 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006508/0.5502, allocations: 311.8 kB / 0.5848 GB, free: 11.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5502, allocations: 0 / 0.5848 GB, free: 11.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5502, allocations: 0 / 0.5848 GB, free: 11.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.5502, allocations: 0 / 0.5848 GB, free: 11.74 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006304/0.5508, allocations: 413 kB / 0.5852 GB, free: 11.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.5509, allocations: 13.77 kB / 0.5852 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.5509, allocations: 40.56 kB / 0.5852 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.551, allocations: 7.281 kB / 0.5852 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.5511, allocations: 174 kB / 0.5854 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.5511, allocations: 1.906 kB / 0.5854 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.5512, allocations: 17.22 kB / 0.5854 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.5513, allocations: 71.12 kB / 0.5855 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.5514, allocations: 0 / 0.5855 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.5514, allocations: 4 kB / 0.5855 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.5514, allocations: 2.938 kB / 0.5855 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.154e-05/0.5515, allocations: 46.41 kB / 0.5855 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.552, allocations: 379.3 kB / 0.5859 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.5522, allocations: 66.12 kB / 0.586 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.5522, allocations: 20.19 kB / 0.586 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/0.5541, allocations: 1.23 MB / 0.5872 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.5541, allocations: 39.97 kB / 0.5872 GB, free: 9.254 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.5541, allocations: 0 / 0.5872 GB, free: 9.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.007298/0.5615, allocations: 0.667 MB / 0.5879 GB, free: 9.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.5615, allocations: 53.62 kB / 0.5879 GB, free: 8.973 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.5616, allocations: 104.2 kB / 0.588 GB, free: 8.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.5617, allocations: 31.73 kB / 0.5881 GB, free: 8.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.5617, allocations: 88.33 kB / 0.5881 GB, free: 8.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.781e-05/0.5618, allocations: 52.3 kB / 0.5882 GB, free: 8.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.5619, allocations: 44.8 kB / 0.5882 GB, free: 8.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5621, allocations: 321 kB / 0.5885 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.5623, allocations: 76.3 kB / 0.5886 GB, free: 8.359 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.5625, allocations: 112.6 kB / 0.5887 GB, free: 8.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.5629, allocations: 200.5 kB / 0.5889 GB, free: 8.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5629, allocations: 0 / 0.5889 GB, free: 8.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005456/0.5635, allocations: 252.8 kB / 0.5892 GB, free: 8.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5635, allocations: 4.719 kB / 0.5892 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5635, allocations: 0 / 0.5892 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.5635, allocations: 6.875 kB / 0.5892 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.5643, allocations: 59.06 kB / 0.5892 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.5643, allocations: 0 / 0.5892 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.5649, allocations: 18.38 kB / 0.5892 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.5649, allocations: 15.34 kB / 0.5893 GB, free: 8.156 MB / 430.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.0001199/0.5651, allocations: 116.2 kB / 0.5894 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.5651, allocations: 12.78 kB / 0.5894 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008005/0.5659, allocations: 347.9 kB / 0.5897 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.566, allocations: 2.406 kB / 0.5897 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.566, allocations: 3.984 kB / 0.5897 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.566, allocations: 2.625 kB / 0.5897 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.5671, allocations: 0.7506 MB / 0.5905 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5671, allocations: 0 / 0.5905 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006674/0.5678, allocations: 45.11 kB / 0.5905 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.5678, allocations: 0 / 0.5905 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.5678, allocations: 16.2 kB / 0.5905 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5679, allocations: 0 / 0.5905 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5679, allocations: 4 kB / 0.5905 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.5684, allocations: 355.8 kB / 0.5909 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.5686, allocations: 101.8 kB / 0.5909 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.5686, allocations: 5.844 kB / 0.591 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.5692, allocations: 14.55 kB / 0.591 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.5693, allocations: 9.266 kB / 0.591 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.5693, allocations: 19.17 kB / 0.591 GB, free: 7.012 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.269e-05/0.5694, allocations: 82.78 kB / 0.5911 GB, free: 6.934 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5694, allocations: 0 / 0.5911 GB, free: 6.934 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004778/0.5698, allocations: 104.5 kB / 0.5912 GB, free: 6.914 MB / 430.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.001364/0.5712, allocations: 1.008 MB / 0.5922 GB, free: 6.168 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006632/0.5719, allocations: 215.3 kB / 0.5924 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.5719, allocations: 4.125 kB / 0.5924 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.5722, allocations: 120.9 kB / 0.5925 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.5727, allocations: 41.88 kB / 0.5925 GB, free: 6.082 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.5737, allocations: 324.4 kB / 0.5928 GB, free: 5.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.574, allocations: 0.6946 MB / 0.5935 GB, free: 5.152 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005053/0.5745, allocations: 66.41 kB / 0.5936 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.5748, allocations: 46.94 kB / 0.5936 GB, free: 5.086 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5748, allocations: 0 / 0.5936 GB, free: 5.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.6056, allocations: 7.595 MB / 0.601 GB, free: 1.012 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.294, allocations: 14 kB / 0.601 GB, free: 1 MB / 430.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches