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.001166/0.001166, allocations: 103 kB / 16.27 MB, free: 6.41 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.001187/0.001187, allocations: 190.5 kB / 17.2 MB, free: 5.953 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.507/1.507, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2191/0.2191, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.002369/0.002369, allocations: 71.41 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1386, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4391/0.5777, allocations: 153.1 MB / 0.5798 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00408/0.5818, allocations: 3.636 MB / 0.5834 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.5819, allocations: 2.094 kB / 0.5834 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.5823, allocations: 39.84 kB / 0.5834 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.5823, allocations: 26.59 kB / 0.5834 GB, free: 12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.5838, allocations: 432.3 kB / 0.5838 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.5839, allocations: 69.5 kB / 0.5839 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.114e-05/0.584, allocations: 4.781 kB / 0.5839 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.488e-05/0.5841, allocations: 41.06 kB / 0.584 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.5841, allocations: 30.61 kB / 0.584 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.5842, allocations: 6.25 kB / 0.584 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.5853, allocations: 496.5 kB / 0.5845 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.5853, allocations: 8.266 kB / 0.5845 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.5854, allocations: 26.12 kB / 0.5845 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.5859, allocations: 308.6 kB / 0.5848 GB, free: 11.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5859, allocations: 0 / 0.5848 GB, free: 11.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5859, allocations: 6.891 kB / 0.5848 GB, free: 11.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.586, allocations: 0 / 0.5848 GB, free: 11.72 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.0006221/0.5866, allocations: 412.5 kB / 0.5852 GB, free: 11.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5866, allocations: 11.45 kB / 0.5852 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.5867, allocations: 36.62 kB / 0.5852 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.5867, allocations: 11.88 kB / 0.5852 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.5869, allocations: 170.2 kB / 0.5854 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.5869, allocations: 5.219 kB / 0.5854 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.5869, allocations: 8.625 kB / 0.5854 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.5871, allocations: 75.8 kB / 0.5855 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5871, allocations: 0 / 0.5855 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.5872, allocations: 3.625 kB / 0.5855 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.5872, allocations: 5.969 kB / 0.5855 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.596e-05/0.5873, allocations: 51.47 kB / 0.5856 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.5878, allocations: 379.1 kB / 0.5859 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.5879, allocations: 67.14 kB / 0.586 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.588, allocations: 18.3 kB / 0.586 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001898/0.5899, allocations: 1.235 MB / 0.5872 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.5899, allocations: 34.56 kB / 0.5872 GB, free: 9.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.5899, allocations: 0 / 0.5872 GB, free: 9.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.007055/0.597, allocations: 0.6713 MB / 0.5879 GB, free: 9.016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.5971, allocations: 51.41 kB / 0.5879 GB, free: 8.953 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.5972, allocations: 102 kB / 0.588 GB, free: 8.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.5972, allocations: 25.7 kB / 0.5881 GB, free: 8.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.5973, allocations: 94.78 kB / 0.5881 GB, free: 8.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.5973, allocations: 46.89 kB / 0.5882 GB, free: 8.695 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.5974, allocations: 45.23 kB / 0.5882 GB, free: 8.668 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5976, allocations: 316.6 kB / 0.5885 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.5978, allocations: 79.5 kB / 0.5886 GB, free: 8.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.598, allocations: 104 kB / 0.5887 GB, free: 8.301 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.5984, allocations: 208.5 kB / 0.5889 GB, free: 8.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5984, allocations: 2.938 kB / 0.5889 GB, free: 8.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005222/0.5989, allocations: 246.3 kB / 0.5892 GB, free: 8.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.599, allocations: 5.812 kB / 0.5892 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.599, allocations: 1.938 kB / 0.5892 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.599, allocations: 2.438 kB / 0.5892 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007205/0.5997, allocations: 59 kB / 0.5892 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5998, allocations: 2.438 kB / 0.5892 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.6003, allocations: 13.12 kB / 0.5892 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.6004, allocations: 11.98 kB / 0.5892 GB, free: 8.145 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.0001262/0.6005, allocations: 122.7 kB / 0.5894 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.6006, allocations: 16.58 kB / 0.5894 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008027/0.6014, allocations: 347.8 kB / 0.5897 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.6014, allocations: 3.938 kB / 0.5897 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6014, allocations: 1.812 kB / 0.5897 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6014, allocations: 0 / 0.5897 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.6026, allocations: 0.7541 MB / 0.5904 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6026, allocations: 2.562 kB / 0.5905 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.6033, allocations: 51.77 kB / 0.5905 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6033, allocations: 0 / 0.5905 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.6033, allocations: 4.438 kB / 0.5905 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.6033, allocations: 3.984 kB / 0.5905 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6033, allocations: 2.5 kB / 0.5905 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.6039, allocations: 359.2 kB / 0.5909 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.604, allocations: 105.7 kB / 0.591 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.6041, allocations: 0 / 0.591 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/0.6046, allocations: 10.25 kB / 0.591 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.6047, allocations: 17.56 kB / 0.591 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.6047, allocations: 10.62 kB / 0.591 GB, free: 6.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.6048, allocations: 92.14 kB / 0.5911 GB, free: 6.914 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6048, allocations: 0 / 0.5911 GB, free: 6.914 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004973/0.6053, allocations: 99.42 kB / 0.5912 GB, free: 6.895 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.001223/0.6065, allocations: 1.007 MB / 0.5922 GB, free: 6.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005506/0.6071, allocations: 219.6 kB / 0.5924 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6071, allocations: 0 / 0.5924 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.6074, allocations: 125.3 kB / 0.5925 GB, free: 6.074 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.6078, allocations: 34.2 kB / 0.5925 GB, free: 6.062 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008795/0.6087, allocations: 324.6 kB / 0.5928 GB, free: 5.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.6089, allocations: 0.6948 MB / 0.5935 GB, free: 5.137 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004503/0.6094, allocations: 64.58 kB / 0.5936 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.6096, allocations: 49.75 kB / 0.5936 GB, free: 5.07 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6096, allocations: 0 / 0.5936 GB, free: 5.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.6357, allocations: 7.596 MB / 0.601 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/8.335, allocations: 6.344 kB / 0.601 GB, free: 0.9922 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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