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.0009718/0.0009717, allocations: 96.55 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 8 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 63.47 MB / 481.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4381/0.5788, allocations: 123.3 MB / 0.5907 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004889/0.5837, allocations: 4.363 MB / 0.595 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.5839, allocations: 4 kB / 0.595 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.5842, allocations: 39.73 kB / 0.595 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.5857, allocations: 0.5985 MB / 0.5956 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.5861, allocations: 147.4 kB / 0.5958 GB, free: 5.438 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005195/0.5867, allocations: 394.1 kB / 0.5961 GB, free: 5.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.5867, allocations: 13.67 kB / 0.5961 GB, free: 5.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.5869, allocations: 155.4 kB / 0.5963 GB, free: 4.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.5873, allocations: 191.4 kB / 0.5965 GB, free: 4.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.5873, allocations: 8 kB / 0.5965 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.5885, allocations: 0.6044 MB / 0.5971 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.5886, allocations: 43.77 kB / 0.5971 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.5887, allocations: 61.64 kB / 0.5972 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.5891, allocations: 301.6 kB / 0.5975 GB, free: 3.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5891, allocations: 0 / 0.5975 GB, free: 3.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5891, allocations: 0 / 0.5975 GB, free: 3.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.5891, allocations: 0 / 0.5975 GB, free: 3.684 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.001159/0.5903, allocations: 0.5585 MB / 0.598 GB, free: 3.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.5904, allocations: 8.031 kB / 0.598 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.5905, allocations: 58.53 kB / 0.5981 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.5907, allocations: 27.77 kB / 0.5981 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.591, allocations: 226.8 kB / 0.5983 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.5911, allocations: 123.3 kB / 0.5984 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.5912, allocations: 24 kB / 0.5985 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.5917, allocations: 326.8 kB / 0.5988 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5917, allocations: 0 / 0.5988 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.5918, allocations: 12 kB / 0.5988 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.5918, allocations: 9.234 kB / 0.5988 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008353/0.5926, allocations: 0.739 MB / 0.5995 GB, free: 1.434 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.001388/0.594, allocations: 1.23 MB / 0.6007 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.5945, allocations: 175.7 kB / 0.6009 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.5946, allocations: 85.47 kB / 0.601 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002447/0.5971, allocations: 2.695 MB / 0.6036 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.5971, allocations: 38.52 kB / 0.6036 GB, free: 12.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.5971, allocations: 4 kB / 0.6036 GB, free: 12.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006428/0.5978, allocations: 211.9 kB / 0.6038 GB, free: 12.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.5978, allocations: 55.41 kB / 0.6039 GB, free: 12.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.598, allocations: 214.9 kB / 0.6041 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.598, allocations: 33.7 kB / 0.6041 GB, free: 12.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.5982, allocations: 210.8 kB / 0.6043 GB, free: 11.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.5982, allocations: 47.36 kB / 0.6044 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.5982, allocations: 12 kB / 0.6044 GB, free: 11.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5984, allocations: 330.8 kB / 0.6047 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.2e-05/0.5985, allocations: 48.84 kB / 0.6047 GB, free: 11.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.5987, allocations: 317.1 kB / 0.605 GB, free: 10.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.5989, allocations: 103.9 kB / 0.6051 GB, free: 10.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.5989, allocations: 4 kB / 0.6051 GB, free: 10.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005372/0.5995, allocations: 373.5 kB / 0.6055 GB, free: 10.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.5995, allocations: 14.14 kB / 0.6055 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.5995, allocations: 12.56 kB / 0.6055 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.5995, allocations: 12 kB / 0.6055 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.5999, allocations: 107.8 kB / 0.6056 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.5999, allocations: 19.92 kB / 0.6057 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.6001, allocations: 23.94 kB / 0.6057 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.6001, allocations: 28 kB / 0.6057 GB, free: 10.25 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.6003, allocations: 153.7 kB / 0.6059 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.6003, allocations: 23.8 kB / 0.6059 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.6006, allocations: 152 kB / 0.606 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.6007, allocations: 4 kB / 0.606 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6007, allocations: 0 / 0.606 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.6007, allocations: 3.984 kB / 0.606 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005354/0.6012, allocations: 444 kB / 0.6065 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6012, allocations: 0 / 0.6065 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.6014, allocations: 31.92 kB / 0.6065 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6014, allocations: 0 / 0.6065 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.6014, allocations: 8 kB / 0.6065 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6014, allocations: 4.062 kB / 0.6065 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6014, allocations: 0 / 0.6065 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.6017, allocations: 224.9 kB / 0.6067 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.6018, allocations: 108.9 kB / 0.6068 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.6018, allocations: 7.984 kB / 0.6068 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.602, allocations: 12 kB / 0.6068 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.602, allocations: 11.98 kB / 0.6068 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.6021, allocations: 7.984 kB / 0.6069 GB, free: 8.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.6022, allocations: 148.4 kB / 0.607 GB, free: 8.816 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6022, allocations: 0 / 0.607 GB, free: 8.816 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004954/0.6027, allocations: 95.98 kB / 0.6071 GB, free: 8.723 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007438/0.6035, allocations: 0.8079 MB / 0.6079 GB, free: 7.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.6038, allocations: 173.5 kB / 0.608 GB, free: 7.719 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.6038, allocations: 8.062 kB / 0.6081 GB, free: 7.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.6039, allocations: 37.23 kB / 0.6081 GB, free: 7.676 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.6044, allocations: 40.41 kB / 0.6081 GB, free: 7.637 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.6074, allocations: 1.399 MB / 0.6095 GB, free: 6.047 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.6079, allocations: 0.7287 MB / 0.6102 GB, free: 5.293 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.6082, allocations: 58.91 kB / 0.6103 GB, free: 5.238 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.6083, allocations: 63.41 kB / 0.6103 GB, free: 5.176 MB / 446.1 MB Notification: Performance of SimCode: time 1.493e-06/0.6083, allocations: 4 kB / 0.6103 GB, free: 5.172 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.6264, allocations: 4.861 MB / 0.6151 GB, free: 476 kB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/0.6266, allocations: 190.8 kB / 0.6153 GB, free: 228 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.671, allocations: 4 kB / 0.6153 GB, free: 224 kB / 446.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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat