Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001569/0.001569, allocations: 103 kB / 17.32 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001917/0.001917, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 67.92 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1309, allocations: 62.45 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4211/0.5521, allocations: 137.1 MB / 0.6022 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005466/0.5576, allocations: 4.701 MB / 0.6068 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.5579, allocations: 0 / 0.6068 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.5584, allocations: 55.7 kB / 0.6068 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.5605, allocations: 0.6844 MB / 0.6075 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.5609, allocations: 151 kB / 0.6077 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.5616, allocations: 370.1 kB / 0.608 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.5616, allocations: 17.67 kB / 0.608 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.562, allocations: 159.4 kB / 0.6082 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.5624, allocations: 203.3 kB / 0.6084 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.5624, allocations: 8 kB / 0.6084 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.5641, allocations: 0.7135 MB / 0.6091 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.5642, allocations: 47.81 kB / 0.6091 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.5644, allocations: 111.5 kB / 0.6092 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.5657, allocations: 465.2 kB / 0.6097 GB, free: 2.949 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.5657, allocations: 4 kB / 0.6097 GB, free: 2.945 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5657, allocations: 3.938 kB / 0.6097 GB, free: 2.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.5657, allocations: 0 / 0.6097 GB, free: 2.941 MB / 446.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.001278/0.567, allocations: 0.6014 MB / 0.6103 GB, free: 2.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5671, allocations: 12.03 kB / 0.6103 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.077e-05/0.5671, allocations: 58.73 kB / 0.6103 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.5673, allocations: 28.73 kB / 0.6104 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.5676, allocations: 224 kB / 0.6106 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.5677, allocations: 131.9 kB / 0.6107 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.5678, allocations: 28.38 kB / 0.6107 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.5683, allocations: 322.7 kB / 0.611 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.5683, allocations: 0 / 0.611 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.5684, allocations: 12 kB / 0.611 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.5684, allocations: 8 kB / 0.6111 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008185/0.5692, allocations: 0.7468 MB / 0.6118 GB, free: 0.6406 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.001396/0.5706, allocations: 1.218 MB / 0.613 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.5711, allocations: 167.8 kB / 0.6131 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.5712, allocations: 93.42 kB / 0.6132 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002341/0.5736, allocations: 2.695 MB / 0.6159 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.5736, allocations: 38.56 kB / 0.6159 GB, free: 11.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.5736, allocations: 0 / 0.6159 GB, free: 11.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007219/0.5744, allocations: 228.2 kB / 0.6161 GB, free: 11.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.5744, allocations: 55.41 kB / 0.6162 GB, free: 11.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.5746, allocations: 212.1 kB / 0.6164 GB, free: 11.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.5747, allocations: 25.7 kB / 0.6164 GB, free: 11.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.5748, allocations: 214.7 kB / 0.6166 GB, free: 11.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.5748, allocations: 59.33 kB / 0.6167 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.399e-05/0.5749, allocations: 82.03 kB / 0.6167 GB, free: 10.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5751, allocations: 326.8 kB / 0.617 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-05/0.5752, allocations: 48.84 kB / 0.6171 GB, free: 10.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.5754, allocations: 321.2 kB / 0.6174 GB, free: 10.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/0.5759, allocations: 421.4 kB / 0.6178 GB, free: 9.523 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.5759, allocations: 4 kB / 0.6178 GB, free: 9.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006016/0.5765, allocations: 376.8 kB / 0.6182 GB, free: 9.145 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.5766, allocations: 12 kB / 0.6182 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.5766, allocations: 8 kB / 0.6182 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.5766, allocations: 16.72 kB / 0.6182 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.577, allocations: 107.8 kB / 0.6183 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.577, allocations: 30.05 kB / 0.6183 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.5772, allocations: 23.94 kB / 0.6183 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.5773, allocations: 24 kB / 0.6184 GB, free: 8.93 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.0001397/0.5774, allocations: 153.6 kB / 0.6185 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.5775, allocations: 27.69 kB / 0.6185 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.5778, allocations: 155.8 kB / 0.6187 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.5778, allocations: 3.984 kB / 0.6187 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5778, allocations: 0 / 0.6187 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5778, allocations: 0 / 0.6187 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/0.5784, allocations: 442.6 kB / 0.6191 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5784, allocations: 0 / 0.6191 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.5785, allocations: 27.98 kB / 0.6191 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.5786, allocations: 0 / 0.6191 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.5786, allocations: 11.94 kB / 0.6192 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5786, allocations: 0 / 0.6192 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5786, allocations: 3.984 kB / 0.6192 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.5788, allocations: 225 kB / 0.6194 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/0.5789, allocations: 104.8 kB / 0.6195 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.579, allocations: 3.938 kB / 0.6195 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.5792, allocations: 15.98 kB / 0.6195 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.5792, allocations: 7.984 kB / 0.6195 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.5792, allocations: 4 kB / 0.6195 GB, free: 7.652 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.5794, allocations: 160.4 kB / 0.6197 GB, free: 7.492 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5794, allocations: 7.938 kB / 0.6197 GB, free: 7.484 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004937/0.5799, allocations: 88 kB / 0.6198 GB, free: 7.398 MB / 462.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.0007652/0.5806, allocations: 0.8109 MB / 0.6205 GB, free: 6.559 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.581, allocations: 185.6 kB / 0.6207 GB, free: 6.379 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.581, allocations: 0 / 0.6207 GB, free: 6.379 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.028e-05/0.5811, allocations: 36.48 kB / 0.6208 GB, free: 6.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.5816, allocations: 58.97 kB / 0.6208 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.5848, allocations: 2.778 MB / 0.6235 GB, free: 3.156 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.5852, allocations: 0.7285 MB / 0.6242 GB, free: 2.402 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002802/0.5855, allocations: 58.91 kB / 0.6243 GB, free: 2.344 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.5856, allocations: 63.42 kB / 0.6244 GB, free: 2.281 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5856, allocations: 0 / 0.6244 GB, free: 2.281 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.6026, allocations: 5.2 MB / 0.6294 GB, free: 13.23 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.6028, allocations: 199.7 kB / 0.6296 GB, free: 12.97 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.551, allocations: 0 / 0.6296 GB, free: 12.97 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches