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.001242/0.001242, allocations: 104.7 kB / 17.63 MB, free: 5.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.00113/0.00113, allocations: 192 kB / 18.56 MB, free: 4.434 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.4/1.4, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.212/0.212, allocations: 44.18 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.5 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1225, allocations: 60.81 MB / 469.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4227/0.5452, allocations: 136.1 MB / 0.5913 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005876/0.5512, allocations: 4.716 MB / 0.5959 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.5514, allocations: 4 kB / 0.5959 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004816/0.5519, allocations: 59.59 kB / 0.596 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.5543, allocations: 0.7267 MB / 0.5967 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.5548, allocations: 149.7 kB / 0.5968 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005517/0.5554, allocations: 382.1 kB / 0.5972 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.808e-05/0.5554, allocations: 9.688 kB / 0.5972 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.5557, allocations: 159.4 kB / 0.5973 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.5559, allocations: 191.4 kB / 0.5975 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.556, allocations: 8 kB / 0.5975 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.5573, allocations: 0.6864 MB / 0.5982 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.694e-05/0.5574, allocations: 51.75 kB / 0.5982 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.5576, allocations: 99.53 kB / 0.5983 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007558/0.5583, allocations: 461.1 kB / 0.5988 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.5583, allocations: 0 / 0.5988 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5584, allocations: 4 kB / 0.5988 GB, free: 0.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.5584, allocations: 0 / 0.5988 GB, free: 0.832 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.001104/0.5595, allocations: 0.6004 MB / 0.5994 GB, free: 192 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.5595, allocations: 8.031 kB / 0.5994 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.35e-05/0.5596, allocations: 58.72 kB / 0.5994 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.5598, allocations: 28.75 kB / 0.5995 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.5601, allocations: 236 kB / 0.5997 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.5602, allocations: 123.9 kB / 0.5998 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.5603, allocations: 20.38 kB / 0.5998 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.5608, allocations: 322.8 kB / 0.6001 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5608, allocations: 7.938 kB / 0.6001 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.5609, allocations: 12 kB / 0.6001 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.5609, allocations: 4 kB / 0.6002 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/0.5617, allocations: 0.743 MB / 0.6009 GB, free: 14.54 MB / 446.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.001341/0.563, allocations: 1.222 MB / 0.6021 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.5635, allocations: 175.8 kB / 0.6022 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.5636, allocations: 85.42 kB / 0.6023 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/0.5659, allocations: 2.703 MB / 0.605 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.566, allocations: 34.56 kB / 0.605 GB, free: 9.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/0.566, allocations: 0 / 0.605 GB, free: 9.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006943/0.5667, allocations: 215.4 kB / 0.6052 GB, free: 9.469 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.5668, allocations: 55.41 kB / 0.6053 GB, free: 9.402 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.567, allocations: 219 kB / 0.6055 GB, free: 9.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.567, allocations: 25.7 kB / 0.6055 GB, free: 9.148 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.5671, allocations: 226.7 kB / 0.6057 GB, free: 8.918 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.5672, allocations: 51.34 kB / 0.6058 GB, free: 8.867 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.5673, allocations: 82.03 kB / 0.6058 GB, free: 8.781 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5674, allocations: 330.8 kB / 0.6061 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.5675, allocations: 44.84 kB / 0.6062 GB, free: 8.406 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.5677, allocations: 335.7 kB / 0.6065 GB, free: 7.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.5681, allocations: 434.1 kB / 0.6069 GB, free: 7.379 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5682, allocations: 4 kB / 0.6069 GB, free: 7.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005407/0.5687, allocations: 377.2 kB / 0.6073 GB, free: 7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5687, allocations: 8 kB / 0.6073 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.5688, allocations: 12 kB / 0.6073 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.5688, allocations: 15.94 kB / 0.6073 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.5691, allocations: 112.8 kB / 0.6074 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.5692, allocations: 20.5 kB / 0.6074 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.5694, allocations: 20 kB / 0.6075 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.5694, allocations: 35.92 kB / 0.6075 GB, free: 6.781 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.0001296/0.5695, allocations: 149.6 kB / 0.6076 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.5696, allocations: 23.75 kB / 0.6077 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.5699, allocations: 155.7 kB / 0.6078 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.5699, allocations: 4 kB / 0.6078 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5699, allocations: 0 / 0.6078 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5699, allocations: 0 / 0.6078 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.5706, allocations: 439.5 kB / 0.6082 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5706, allocations: 0 / 0.6082 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.5707, allocations: 32.05 kB / 0.6083 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5707, allocations: 0 / 0.6083 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.5708, allocations: 7.984 kB / 0.6083 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5708, allocations: 4 kB / 0.6083 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5708, allocations: 0 / 0.6083 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.571, allocations: 224.9 kB / 0.6085 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.5711, allocations: 108.8 kB / 0.6086 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.5712, allocations: 7.938 kB / 0.6086 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.5714, allocations: 11.98 kB / 0.6086 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.5714, allocations: 7.984 kB / 0.6086 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.5714, allocations: 12 kB / 0.6086 GB, free: 5.504 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.5715, allocations: 148.5 kB / 0.6088 GB, free: 5.359 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5715, allocations: 0 / 0.6088 GB, free: 5.359 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005576/0.5721, allocations: 88 kB / 0.6089 GB, free: 5.273 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.0007129/0.5728, allocations: 0.8125 MB / 0.6097 GB, free: 4.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.5732, allocations: 188.7 kB / 0.6098 GB, free: 4.242 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5732, allocations: 0 / 0.6098 GB, free: 4.242 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.417e-05/0.5732, allocations: 37.48 kB / 0.6099 GB, free: 4.207 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.5737, allocations: 50.58 kB / 0.6099 GB, free: 4.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.5765, allocations: 2.707 MB / 0.6126 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.5769, allocations: 0.7245 MB / 0.6133 GB, free: 344 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002524/0.5772, allocations: 54.83 kB / 0.6133 GB, free: 288 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/0.5773, allocations: 63.42 kB / 0.6134 GB, free: 224 kB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5773, allocations: 0 / 0.6134 GB, free: 224 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.6005, allocations: 5.229 MB / 0.6185 GB, free: 11.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.479, allocations: 8.047 kB / 0.6185 GB, free: 11.08 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