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.001151/0.001151, allocations: 107.9 kB / 17.21 MB, free: 6.273 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.001008/0.001008, allocations: 194 kB / 18.12 MB, free: 5.363 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.401/1.401, allocations: 222.9 MB / 241.8 MB, free: 15.42 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.2269/0.2269, allocations: 44.16 MB / 336.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 69.31 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1301, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3799/0.51, allocations: 134 MB / 0.5885 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005821/0.5159, allocations: 4.754 MB / 0.5932 GB, free: 6.406 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.5161, allocations: 0 / 0.5932 GB, free: 6.406 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.5165, allocations: 55.7 kB / 0.5932 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.5187, allocations: 0.6609 MB / 0.5939 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.5192, allocations: 153.7 kB / 0.594 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008703/0.52, allocations: 446 kB / 0.5944 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.5201, allocations: 13.67 kB / 0.5945 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003677/0.5205, allocations: 155.4 kB / 0.5946 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004084/0.5209, allocations: 191.4 kB / 0.5948 GB, free: 4.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.521, allocations: 4 kB / 0.5948 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.5227, allocations: 0.7096 MB / 0.5955 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.5228, allocations: 51.75 kB / 0.5955 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.523, allocations: 119.4 kB / 0.5956 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.5243, allocations: 461.1 kB / 0.5961 GB, free: 3.422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5243, allocations: 0 / 0.5961 GB, free: 3.422 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.5243, allocations: 0 / 0.5961 GB, free: 3.422 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.5243, allocations: 0 / 0.5961 GB, free: 3.422 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.00148/0.5258, allocations: 0.5938 MB / 0.5967 GB, free: 2.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.5259, allocations: 16.02 kB / 0.5967 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.21e-05/0.526, allocations: 54.73 kB / 0.5967 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.5262, allocations: 24.75 kB / 0.5968 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.5266, allocations: 228 kB / 0.597 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.5267, allocations: 119.9 kB / 0.5971 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.5268, allocations: 28.31 kB / 0.5971 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.5273, allocations: 326.8 kB / 0.5974 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5273, allocations: 3.984 kB / 0.5974 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.5274, allocations: 12 kB / 0.5974 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/0.5274, allocations: 8 kB / 0.5974 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000842/0.5283, allocations: 0.7352 MB / 0.5982 GB, free: 1.145 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.001739/0.53, allocations: 1.226 MB / 0.5994 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.5305, allocations: 175.8 kB / 0.5995 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.5306, allocations: 93.41 kB / 0.5996 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003036/0.5337, allocations: 2.695 MB / 0.6022 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.5337, allocations: 34.56 kB / 0.6023 GB, free: 12.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.5337, allocations: 0 / 0.6023 GB, free: 12.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007647/0.5345, allocations: 224 kB / 0.6025 GB, free: 12.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.5346, allocations: 55.41 kB / 0.6025 GB, free: 11.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.5348, allocations: 215 kB / 0.6028 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.5349, allocations: 25.7 kB / 0.6028 GB, free: 11.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.535, allocations: 222.7 kB / 0.603 GB, free: 11.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.5351, allocations: 51.34 kB / 0.603 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.5352, allocations: 85.97 kB / 0.6031 GB, free: 11.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5354, allocations: 322.8 kB / 0.6034 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.5355, allocations: 52.84 kB / 0.6035 GB, free: 11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.536, allocations: 331.8 kB / 0.6038 GB, free: 10.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.5366, allocations: 438.9 kB / 0.6042 GB, free: 9.973 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.5366, allocations: 4 kB / 0.6042 GB, free: 9.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006453/0.5372, allocations: 382.9 kB / 0.6046 GB, free: 9.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.5373, allocations: 9 kB / 0.6046 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/0.5374, allocations: 12 kB / 0.6046 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.5374, allocations: 19.94 kB / 0.6046 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.5378, allocations: 107.8 kB / 0.6047 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/0.5378, allocations: 19.92 kB / 0.6047 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.5381, allocations: 23.94 kB / 0.6048 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.5381, allocations: 35.88 kB / 0.6048 GB, free: 9.371 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.0001718/0.5383, allocations: 145.6 kB / 0.6049 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.5384, allocations: 19.81 kB / 0.605 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.5387, allocations: 151.8 kB / 0.6051 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.5387, allocations: 4 kB / 0.6051 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5388, allocations: 0 / 0.6051 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5388, allocations: 0 / 0.6051 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005833/0.5394, allocations: 448.6 kB / 0.6055 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5394, allocations: 4 kB / 0.6055 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.5395, allocations: 23.98 kB / 0.6056 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.5396, allocations: 4 kB / 0.6056 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.5396, allocations: 4 kB / 0.6056 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5396, allocations: 0 / 0.6056 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5396, allocations: 4 kB / 0.6056 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.5399, allocations: 224.9 kB / 0.6058 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.54, allocations: 104.9 kB / 0.6059 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.54, allocations: 7.938 kB / 0.6059 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.5402, allocations: 8 kB / 0.6059 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.5403, allocations: 7.984 kB / 0.6059 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.5403, allocations: 19.98 kB / 0.6059 GB, free: 8.098 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.5404, allocations: 144.5 kB / 0.6061 GB, free: 7.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5405, allocations: 0 / 0.6061 GB, free: 7.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005401/0.541, allocations: 91.98 kB / 0.6062 GB, free: 7.867 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.0008792/0.5419, allocations: 0.8235 MB / 0.607 GB, free: 7.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.5422, allocations: 182 kB / 0.6071 GB, free: 6.832 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5422, allocations: 256 / 0.6071 GB, free: 6.832 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/0.5423, allocations: 39.86 kB / 0.6072 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.5428, allocations: 48.41 kB / 0.6072 GB, free: 6.746 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.5466, allocations: 2.764 MB / 0.6099 GB, free: 3.617 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.5469, allocations: 0.7326 MB / 0.6106 GB, free: 2.859 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002694/0.5472, allocations: 54.83 kB / 0.6107 GB, free: 2.809 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.5473, allocations: 63.41 kB / 0.6107 GB, free: 2.746 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5473, allocations: 0 / 0.6107 GB, free: 2.746 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.5639, allocations: 5.025 MB / 0.6157 GB, free: 13.85 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.5641, allocations: 202.8 kB / 0.6158 GB, free: 13.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.435, allocations: 3.938 kB / 0.6158 GB, free: 13.59 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