Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001033/0.001033, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009446/0.0009446, allocations: 92.36 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1976/0.1976, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.989e-05, allocations: 0 / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 63.24 MB / 0.5114 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3503/0.4506, allocations: 86.67 MB / 0.5961 GB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.4508, allocations: 61.66 kB / 0.5961 GB, free: 7.141 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004429/0.4553, allocations: 1.731 MB / 0.5978 GB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4553, allocations: 3.344 kB / 0.5978 GB, free: 5.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.4553, allocations: 4 kB / 0.5978 GB, free: 5.887 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002792/0.4556, allocations: 362.3 kB / 0.5982 GB, free: 5.488 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4557, allocations: 15.95 kB / 0.5982 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.4557, allocations: 30.56 kB / 0.5982 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.4557, allocations: 0 / 0.5982 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.4559, allocations: 167 kB / 0.5984 GB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4559, allocations: 4 kB / 0.5984 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.4559, allocations: 0 / 0.5984 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.109e-05/0.456, allocations: 29.7 kB / 0.5984 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.456, allocations: 0 / 0.5984 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.456, allocations: 0 / 0.5984 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.456, allocations: 0 / 0.5984 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.537e-05/0.456, allocations: 0 / 0.5984 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.4562, allocations: 160.8 kB / 0.5986 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.197e-05/0.4562, allocations: 22.52 kB / 0.5986 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/0.4563, allocations: 4.859 kB / 0.5986 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.4563, allocations: 4.062 kB / 0.5986 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.4563, allocations: 56.27 kB / 0.5987 GB, free: 4.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.4563, allocations: 0 / 0.5987 GB, free: 4.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001556/0.4565, allocations: 67.02 kB / 0.5987 GB, free: 4.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4565, allocations: 81.05 kB / 0.5988 GB, free: 4.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.4566, allocations: 89.03 kB / 0.5989 GB, free: 4.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.4566, allocations: 25.7 kB / 0.5989 GB, free: 4.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.4567, allocations: 84.14 kB / 0.599 GB, free: 4.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.4567, allocations: 0 / 0.599 GB, free: 4.492 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.4567, allocations: 0 / 0.599 GB, free: 4.492 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.4568, allocations: 314.7 kB / 0.5993 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-06/0.4568, allocations: 0 / 0.5993 GB, free: 4.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.4568, allocations: 7.938 kB / 0.5993 GB, free: 4.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.499e-05/0.4568, allocations: 37.83 kB / 0.5993 GB, free: 4.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4568, allocations: 0 / 0.5993 GB, free: 4.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.26e-05/0.4569, allocations: 59.41 kB / 0.5994 GB, free: 4.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.457, allocations: 31.11 kB / 0.5994 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.457, allocations: 0 / 0.5994 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.457, allocations: 4 kB / 0.5994 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.405e-06/0.457, allocations: 0 / 0.5994 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.457, allocations: 3.938 kB / 0.5994 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.457, allocations: 3.984 kB / 0.5994 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.457, allocations: 3.984 kB / 0.5994 GB, free: 4.008 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.314e-05/0.4571, allocations: 142.5 kB / 0.5996 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.4571, allocations: 0 / 0.5996 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.508e-05/0.4572, allocations: 7.078 kB / 0.5996 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.4572, allocations: 0 / 0.5996 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4572, allocations: 0 / 0.5996 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4572, allocations: 0 / 0.5996 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.199e-05/0.4573, allocations: 149.7 kB / 0.5997 GB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4573, allocations: 7.953 kB / 0.5997 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.4573, allocations: 0 / 0.5997 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4573, allocations: 4 kB / 0.5997 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.4573, allocations: 0 / 0.5997 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4573, allocations: 7.938 kB / 0.5997 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4573, allocations: 0 / 0.5997 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.698e-05/0.4574, allocations: 90.02 kB / 0.5998 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.4575, allocations: 81.69 kB / 0.5999 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.4575, allocations: 0 / 0.5999 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.4575, allocations: 3.938 kB / 0.5999 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.4575, allocations: 4.031 kB / 0.5999 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.4575, allocations: 4 kB / 0.5999 GB, free: 3.418 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.326e-05/0.4576, allocations: 78.03 kB / 0.6 GB, free: 3.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4576, allocations: 0 / 0.6 GB, free: 3.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.4578, allocations: 31.97 kB / 0.6 GB, free: 3.312 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006038/0.4584, allocations: 0.7161 MB / 0.6007 GB, free: 2.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.4585, allocations: 63.34 kB / 0.6008 GB, free: 2.523 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4585, allocations: 0 / 0.6008 GB, free: 2.523 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.4586, allocations: 55.41 kB / 0.6008 GB, free: 2.457 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.617e-05/0.4587, allocations: 4.438 kB / 0.6008 GB, free: 2.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.4589, allocations: 91.89 kB / 0.6009 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.4592, allocations: 0.6809 MB / 0.6016 GB, free: 1.629 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.078e-05/0.4592, allocations: 4.031 kB / 0.6016 GB, free: 1.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.4592, allocations: 11.44 kB / 0.6016 GB, free: 1.613 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4592, allocations: 0 / 0.6016 GB, free: 1.613 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.4715, allocations: 1.21 MB / 0.6028 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.4718, allocations: 178.8 kB / 0.603 GB, free: 292 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/1.923, allocations: 3.938 kB / 0.603 GB, free: 288 kB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestReadFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestReadFile.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat