Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",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.001282/0.001282, allocations: 103.1 kB / 17.32 MB, free: 5.984 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.001358/0.001358, allocations: 193.3 kB / 18.25 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2016/0.2016, allocations: 44.18 MB / 336.3 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.12 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.118, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3569/0.475, allocations: 134.2 MB / 0.5889 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004565/0.4796, allocations: 4.688 MB / 0.5935 GB, free: 6.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.4797, allocations: 4 kB / 0.5935 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.48, allocations: 59.7 kB / 0.5935 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.4815, allocations: 0.6727 MB / 0.5942 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.4818, allocations: 144.9 kB / 0.5943 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.4823, allocations: 374.2 kB / 0.5947 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.871e-05/0.4823, allocations: 21.61 kB / 0.5947 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.4825, allocations: 155.4 kB / 0.5948 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.4828, allocations: 191.4 kB / 0.595 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.4828, allocations: 12 kB / 0.595 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.4839, allocations: 0.694 MB / 0.5957 GB, free: 3.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.4839, allocations: 55.75 kB / 0.5958 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.484, allocations: 111.5 kB / 0.5959 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005834/0.4846, allocations: 469.1 kB / 0.5963 GB, free: 3.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4846, allocations: 0 / 0.5963 GB, free: 3.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4847, allocations: 0 / 0.5963 GB, free: 3.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4847, allocations: 0 / 0.5963 GB, free: 3.277 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009392/0.4856, allocations: 0.5938 MB / 0.5969 GB, free: 2.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4857, allocations: 12.03 kB / 0.5969 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.4857, allocations: 58.67 kB / 0.597 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.4859, allocations: 32.73 kB / 0.597 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.4861, allocations: 232 kB / 0.5972 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.4862, allocations: 119.9 kB / 0.5973 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.4863, allocations: 24.38 kB / 0.5974 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.4867, allocations: 331.6 kB / 0.5977 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4867, allocations: 0 / 0.5977 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.4868, allocations: 12 kB / 0.5977 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.4868, allocations: 8 kB / 0.5977 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/0.4875, allocations: 0.7352 MB / 0.5984 GB, free: 0.9922 MB / 430.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.001171/0.4887, allocations: 1.218 MB / 0.5996 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.4891, allocations: 179.7 kB / 0.5998 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.4892, allocations: 85.42 kB / 0.5999 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001977/0.4912, allocations: 2.691 MB / 0.6025 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.4912, allocations: 46.48 kB / 0.6025 GB, free: 12.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.4912, allocations: 3.938 kB / 0.6025 GB, free: 12.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005913/0.4918, allocations: 216 kB / 0.6027 GB, free: 11.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.4919, allocations: 59.34 kB / 0.6028 GB, free: 11.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.4921, allocations: 223 kB / 0.603 GB, free: 11.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.4921, allocations: 25.7 kB / 0.603 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.4922, allocations: 222.7 kB / 0.6032 GB, free: 11.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.4923, allocations: 47.36 kB / 0.6033 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.4924, allocations: 82.03 kB / 0.6034 GB, free: 11.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4925, allocations: 322.8 kB / 0.6037 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.4926, allocations: 56.77 kB / 0.6037 GB, free: 10.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.4929, allocations: 331.8 kB / 0.604 GB, free: 10.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.4933, allocations: 440.2 kB / 0.6045 GB, free: 9.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4933, allocations: 0 / 0.6045 GB, free: 9.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005009/0.4938, allocations: 389 kB / 0.6048 GB, free: 9.434 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4938, allocations: 8 kB / 0.6048 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.4938, allocations: 12 kB / 0.6049 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.4939, allocations: 15.94 kB / 0.6049 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.4942, allocations: 108.5 kB / 0.605 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.4942, allocations: 23.92 kB / 0.605 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.4944, allocations: 20.88 kB / 0.605 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.4945, allocations: 28 kB / 0.605 GB, free: 9.223 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001149/0.4946, allocations: 149.6 kB / 0.6052 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.4946, allocations: 23.75 kB / 0.6052 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.4949, allocations: 155.7 kB / 0.6054 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.4949, allocations: 4 kB / 0.6054 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4949, allocations: 0 / 0.6054 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.495, allocations: 0 / 0.6054 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.4954, allocations: 440 kB / 0.6058 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4955, allocations: 7.938 kB / 0.6058 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.4956, allocations: 27.92 kB / 0.6058 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.4956, allocations: 4 kB / 0.6058 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4956, allocations: 4 kB / 0.6058 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4956, allocations: 0 / 0.6058 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4957, allocations: 4 kB / 0.6058 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.4959, allocations: 225.1 kB / 0.606 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.375e-05/0.496, allocations: 100.9 kB / 0.6061 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.496, allocations: 7.938 kB / 0.6061 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.4962, allocations: 11.98 kB / 0.6062 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.4963, allocations: 7.938 kB / 0.6062 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.4963, allocations: 11.98 kB / 0.6062 GB, free: 7.949 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.4964, allocations: 152.5 kB / 0.6063 GB, free: 7.801 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4964, allocations: 4 kB / 0.6063 GB, free: 7.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.4969, allocations: 88 kB / 0.6064 GB, free: 7.711 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0007612/0.4977, allocations: 0.815 MB / 0.6072 GB, free: 6.863 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003282/0.498, allocations: 193.7 kB / 0.6074 GB, free: 6.676 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.498, allocations: 0 / 0.6074 GB, free: 6.676 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.4981, allocations: 36.48 kB / 0.6074 GB, free: 6.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.4985, allocations: 52.62 kB / 0.6075 GB, free: 6.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.5013, allocations: 2.762 MB / 0.6102 GB, free: 3.461 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.5016, allocations: 0.7285 MB / 0.6109 GB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.5018, allocations: 62.8 kB / 0.6109 GB, free: 2.648 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.431e-05/0.5019, allocations: 63.36 kB / 0.611 GB, free: 2.586 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.502, allocations: 3.938 kB / 0.611 GB, free: 2.582 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.5171, allocations: 5.133 MB / 0.616 GB, free: 13.6 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.5173, allocations: 199.2 kB / 0.6162 GB, free: 13.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.514, allocations: 0 / 0.6162 GB, free: 13.34 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches