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.001286/0.001285, allocations: 104.2 kB / 15.98 MB, free: 6.352 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.001649/0.001649, allocations: 197.8 kB / 16.91 MB, free: 6.195 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.679/1.679, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.3657/0.3657, allocations: 43.49 MB / 313.6 MB, free: 8.473 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.00141/0.001411, allocations: 63.91 kB / 382.3 MB, free: 8.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1516, allocations: 57.79 MB / 440.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4118/0.5634, allocations: 151 MB / 0.5772 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004164/0.5677, allocations: 3.616 MB / 0.5808 GB, free: 1.406 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.5677, allocations: 0 / 0.5808 GB, free: 1.406 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.568, allocations: 35.75 kB / 0.5808 GB, free: 1.371 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.5681, allocations: 31.77 kB / 0.5808 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.5694, allocations: 415.3 kB / 0.5812 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.206e-05/0.5695, allocations: 63.61 kB / 0.5813 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.5696, allocations: 4 kB / 0.5813 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.128e-05/0.5697, allocations: 31.86 kB / 0.5813 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.5697, allocations: 27.91 kB / 0.5814 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.5698, allocations: 0 / 0.5814 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009618/0.5707, allocations: 494.8 kB / 0.5818 GB, free: 336 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.5708, allocations: 11.94 kB / 0.5818 GB, free: 324 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.5708, allocations: 35.84 kB / 0.5819 GB, free: 288 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.5713, allocations: 319.3 kB / 0.5822 GB, free: 15.97 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5713, allocations: 3.938 kB / 0.5822 GB, free: 15.96 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5714, allocations: 0 / 0.5822 GB, free: 15.96 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.5714, allocations: 0 / 0.5822 GB, free: 15.96 MB / 462.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.0005679/0.5719, allocations: 403.2 kB / 0.5826 GB, free: 15.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.572, allocations: 11.89 kB / 0.5826 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.572, allocations: 43.38 kB / 0.5826 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.5721, allocations: 8.844 kB / 0.5826 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.5722, allocations: 167.5 kB / 0.5828 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.5722, allocations: 8 kB / 0.5828 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.5722, allocations: 8 kB / 0.5828 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.5724, allocations: 69.66 kB / 0.5829 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.5724, allocations: 4.906 kB / 0.5829 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5724, allocations: 4 kB / 0.5829 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5724, allocations: 0 / 0.5829 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.5725, allocations: 51.91 kB / 0.5829 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.5729, allocations: 377.8 kB / 0.5833 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.573, allocations: 66.55 kB / 0.5833 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.5731, allocations: 20.98 kB / 0.5834 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001744/0.5748, allocations: 1.239 MB / 0.5846 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.5749, allocations: 30.56 kB / 0.5846 GB, free: 13.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.5749, allocations: 3.938 kB / 0.5846 GB, free: 13.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.006916/0.5818, allocations: 0.6611 MB / 0.5853 GB, free: 12.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.5818, allocations: 63.34 kB / 0.5853 GB, free: 12.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.5819, allocations: 99.36 kB / 0.5854 GB, free: 12.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.582, allocations: 33.7 kB / 0.5854 GB, free: 12.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.582, allocations: 88.31 kB / 0.5855 GB, free: 12.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.5821, allocations: 47.3 kB / 0.5856 GB, free: 12.03 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.5822, allocations: 45.67 kB / 0.5856 GB, free: 11.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.5823, allocations: 314.8 kB / 0.5859 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.5825, allocations: 83.94 kB / 0.586 GB, free: 11.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.5827, allocations: 106.5 kB / 0.5861 GB, free: 11.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.5831, allocations: 198 kB / 0.5863 GB, free: 11.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5831, allocations: 0 / 0.5863 GB, free: 11.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005232/0.5836, allocations: 261.5 kB / 0.5865 GB, free: 11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5837, allocations: 4 kB / 0.5865 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5837, allocations: 0 / 0.5865 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5837, allocations: 4 kB / 0.5865 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.5844, allocations: 51.94 kB / 0.5866 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5844, allocations: 0 / 0.5866 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.5849, allocations: 19.12 kB / 0.5866 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.585, allocations: 11.98 kB / 0.5866 GB, free: 10.92 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.0001129/0.5851, allocations: 129.8 kB / 0.5867 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.5851, allocations: 11.84 kB / 0.5868 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007668/0.5859, allocations: 341.2 kB / 0.5871 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5859, allocations: 0 / 0.5871 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.5859, allocations: 0 / 0.5871 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.586, allocations: 7.984 kB / 0.5871 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.587, allocations: 0.7457 MB / 0.5878 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.587, allocations: 3.938 kB / 0.5878 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.5876, allocations: 55.89 kB / 0.5879 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5876, allocations: 0 / 0.5879 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.5877, allocations: 11.97 kB / 0.5879 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5877, allocations: 0 / 0.5879 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5877, allocations: 0 / 0.5879 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.5882, allocations: 357.7 kB / 0.5882 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.5883, allocations: 101 kB / 0.5883 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.5884, allocations: 12 kB / 0.5883 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/0.5889, allocations: 4 kB / 0.5883 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.589, allocations: 23.91 kB / 0.5884 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.589, allocations: 15.92 kB / 0.5884 GB, free: 8.988 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.71e-05/0.5891, allocations: 83.28 kB / 0.5885 GB, free: 8.906 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5891, allocations: 0 / 0.5885 GB, free: 8.906 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.5895, allocations: 99.92 kB / 0.5886 GB, free: 8.809 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.001112/0.5906, allocations: 1.008 MB / 0.5895 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004907/0.5911, allocations: 209.5 kB / 0.5897 GB, free: 7.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5911, allocations: 4 kB / 0.5897 GB, free: 7.566 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.5914, allocations: 123.8 kB / 0.5899 GB, free: 7.445 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.5918, allocations: 30.16 kB / 0.5899 GB, free: 7.418 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007584/0.5926, allocations: 369.1 kB / 0.5902 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.5928, allocations: 0.7048 MB / 0.5909 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004731/0.5933, allocations: 60.75 kB / 0.591 GB, free: 6.238 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.5935, allocations: 43.39 kB / 0.591 GB, free: 6.199 MB / 462.1 MB Notification: Performance of SimCode: time 3.8e-07/0.5935, allocations: 0 / 0.591 GB, free: 6.199 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4295/1.023, allocations: 7.52 MB / 0.5984 GB, free: 14.73 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/1.023, allocations: 196.1 kB / 0.5986 GB, free: 14.47 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/3.111, allocations: 0 / 0.5986 GB, free: 14.47 MB / 478.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