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.0009184/0.0009184, allocations: 93.89 kB / 17.35 MB, free: 6.344 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.001037/0.001037, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.38/1.38, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2047/0.2047, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002975, allocations: 12.56 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1074, allocations: 61.91 MB / 472.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3637/0.4712, allocations: 132.3 MB / 0.5904 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004583/0.4758, allocations: 4.671 MB / 0.595 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.4759, allocations: 0 / 0.595 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.4762, allocations: 63.7 kB / 0.5951 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.4775, allocations: 0.6609 MB / 0.5957 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.4778, allocations: 150.5 kB / 0.5959 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.4783, allocations: 446 kB / 0.5963 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.4784, allocations: 9.688 kB / 0.5963 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.4786, allocations: 159.4 kB / 0.5964 GB, free: 7.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.4788, allocations: 191.4 kB / 0.5966 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.4788, allocations: 4 kB / 0.5966 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.4799, allocations: 0.7134 MB / 0.5973 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.188e-05/0.48, allocations: 47.8 kB / 0.5974 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.4801, allocations: 137.2 kB / 0.5975 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005791/0.4807, allocations: 461.1 kB / 0.5979 GB, free: 6.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4807, allocations: 3.938 kB / 0.598 GB, free: 6.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4807, allocations: 0 / 0.598 GB, free: 6.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.4807, allocations: 0 / 0.598 GB, free: 6.027 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.0008481/0.4816, allocations: 0.5491 MB / 0.5985 GB, free: 5.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.4816, allocations: 8.031 kB / 0.5985 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/0.4817, allocations: 59.42 kB / 0.5986 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.4818, allocations: 28.73 kB / 0.5986 GB, free: 5.332 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.482, allocations: 224.1 kB / 0.5988 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.4822, allocations: 119.9 kB / 0.5989 GB, free: 4.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.4822, allocations: 32.31 kB / 0.5989 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.4826, allocations: 326.7 kB / 0.5992 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4827, allocations: 0 / 0.5992 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.4827, allocations: 12 kB / 0.5993 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.4827, allocations: 8 kB / 0.5993 GB, free: 4.539 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006886/0.4834, allocations: 0.743 MB / 0.6 GB, free: 3.797 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.001121/0.4845, allocations: 1.222 MB / 0.6012 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.4849, allocations: 180.4 kB / 0.6014 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.485, allocations: 89.42 kB / 0.6014 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001959/0.487, allocations: 2.703 MB / 0.6041 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.487, allocations: 38.56 kB / 0.6041 GB, free: 14.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.487, allocations: 0 / 0.6041 GB, free: 14.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005382/0.4876, allocations: 218.5 kB / 0.6043 GB, free: 14.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.4876, allocations: 51.41 kB / 0.6044 GB, free: 14.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.4878, allocations: 219 kB / 0.6046 GB, free: 14.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4878, allocations: 25.7 kB / 0.6046 GB, free: 14.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.4879, allocations: 218.8 kB / 0.6048 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.488, allocations: 51.27 kB / 0.6049 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.488, allocations: 37.7 kB / 0.6049 GB, free: 14.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.4881, allocations: 334.8 kB / 0.6052 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.946e-05/0.4882, allocations: 44.84 kB / 0.6053 GB, free: 13.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.4884, allocations: 335.8 kB / 0.6056 GB, free: 13.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.4888, allocations: 438 kB / 0.606 GB, free: 12.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4888, allocations: 0 / 0.606 GB, free: 12.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005144/0.4894, allocations: 381.8 kB / 0.6064 GB, free: 12.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4894, allocations: 10.5 kB / 0.6064 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.4894, allocations: 12.7 kB / 0.6064 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4894, allocations: 15.94 kB / 0.6064 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.4898, allocations: 111.8 kB / 0.6065 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.4898, allocations: 15.94 kB / 0.6065 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.49, allocations: 19.98 kB / 0.6065 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.49, allocations: 28 kB / 0.6066 GB, free: 12.07 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.0001163/0.4902, allocations: 157.6 kB / 0.6067 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.4902, allocations: 23.75 kB / 0.6067 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.4905, allocations: 143.8 kB / 0.6069 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.4905, allocations: 7.984 kB / 0.6069 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.4905, allocations: 4 kB / 0.6069 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4905, allocations: 0 / 0.6069 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.491, allocations: 444 kB / 0.6073 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.491, allocations: 0 / 0.6073 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.4912, allocations: 35.91 kB / 0.6074 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.4912, allocations: 0 / 0.6074 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4912, allocations: 4 kB / 0.6074 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4912, allocations: 4.062 kB / 0.6074 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4912, allocations: 0 / 0.6074 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.4914, allocations: 228.8 kB / 0.6076 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.4915, allocations: 109.5 kB / 0.6077 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.4915, allocations: 4 kB / 0.6077 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.4917, allocations: 15.98 kB / 0.6077 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.4918, allocations: 4 kB / 0.6077 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.4918, allocations: 13.73 kB / 0.6077 GB, free: 10.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.4919, allocations: 152.5 kB / 0.6079 GB, free: 10.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4919, allocations: 0 / 0.6079 GB, free: 10.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004515/0.4924, allocations: 88 kB / 0.6079 GB, free: 10.55 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.0006244/0.493, allocations: 0.8263 MB / 0.6088 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.4933, allocations: 189.8 kB / 0.6089 GB, free: 9.508 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4933, allocations: 0 / 0.6089 GB, free: 9.508 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.443e-05/0.4934, allocations: 31.92 kB / 0.609 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.4938, allocations: 45.03 kB / 0.609 GB, free: 9.434 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.4964, allocations: 2.807 MB / 0.6118 GB, free: 6.266 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.4967, allocations: 0.7287 MB / 0.6125 GB, free: 5.512 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002566/0.4969, allocations: 58.81 kB / 0.6125 GB, free: 5.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.497, allocations: 63.42 kB / 0.6126 GB, free: 5.398 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.497, allocations: 0 / 0.6126 GB, free: 5.398 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.5137, allocations: 4.954 MB / 0.6174 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/0.514, allocations: 202.3 kB / 0.6176 GB, free: 340 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.369, allocations: 0 / 0.6176 GB, free: 340 kB / 446.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