Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.TestFiles,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 196.5 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.28/1.28, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 92.31 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1901/0.1901, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.991e-05, allocations: 0 / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 63.24 MB / 0.5114 GB, free: 6.723 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3893/0.4974, allocations: 88.63 MB / 0.598 GB, free: 5.207 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.4976, allocations: 61.47 kB / 0.5981 GB, free: 5.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01687/0.5145, allocations: 6.103 MB / 0.604 GB, free: 264 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5145, allocations: 0 / 0.604 GB, free: 264 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.5146, allocations: 0 / 0.604 GB, free: 264 kB / 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.0004574/0.515, allocations: 414.7 kB / 0.6044 GB, free: 15.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.5151, allocations: 11.97 kB / 0.6044 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.5151, allocations: 42.56 kB / 0.6045 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.5152, allocations: 0 / 0.6045 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.5153, allocations: 163 kB / 0.6046 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.5153, allocations: 0 / 0.6046 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.5153, allocations: 3.938 kB / 0.6046 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.738e-05/0.5154, allocations: 33.69 kB / 0.6047 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5155, allocations: 0 / 0.6047 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.5155, allocations: 0 / 0.6047 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.5155, allocations: 0 / 0.6047 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.5155, allocations: 4 kB / 0.6047 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.5157, allocations: 151.7 kB / 0.6048 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.73e-05/0.5157, allocations: 20.98 kB / 0.6048 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.5157, allocations: 12.78 kB / 0.6048 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.5158, allocations: 0 / 0.6048 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.5158, allocations: 60.33 kB / 0.6049 GB, free: 15.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.5158, allocations: 0 / 0.6049 GB, free: 15.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001749/0.516, allocations: 66.66 kB / 0.605 GB, free: 15.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.5161, allocations: 77.11 kB / 0.605 GB, free: 15.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.5162, allocations: 88.98 kB / 0.6051 GB, free: 14.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.5162, allocations: 29.7 kB / 0.6052 GB, free: 14.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.5162, allocations: 80.14 kB / 0.6052 GB, free: 14.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.5162, allocations: 4.562 kB / 0.6052 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-06/0.5163, allocations: 0 / 0.6052 GB, free: 14.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5164, allocations: 318.3 kB / 0.6055 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-06/0.5164, allocations: 4 kB / 0.6055 GB, free: 14.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-06/0.5164, allocations: 7.938 kB / 0.6055 GB, free: 14.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.5164, allocations: 29.64 kB / 0.6056 GB, free: 14.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5164, allocations: 0 / 0.6056 GB, free: 14.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.273e-05/0.5165, allocations: 63.39 kB / 0.6056 GB, free: 14.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.5166, allocations: 33.7 kB / 0.6057 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5166, allocations: 0 / 0.6057 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5166, allocations: 0 / 0.6057 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.5166, allocations: 96 / 0.6057 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5166, allocations: 4 kB / 0.6057 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.5166, allocations: 3.562 kB / 0.6057 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.5166, allocations: 4 kB / 0.6057 GB, free: 14.32 MB / 410.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 8.137e-05/0.5167, allocations: 130.6 kB / 0.6058 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.5167, allocations: 3.906 kB / 0.6058 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.5168, allocations: 15.06 kB / 0.6058 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5168, allocations: 0 / 0.6058 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5168, allocations: 0 / 0.6058 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5168, allocations: 3.984 kB / 0.6058 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.5169, allocations: 149.6 kB / 0.606 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5169, allocations: 0 / 0.606 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-06/0.5169, allocations: 11.92 kB / 0.606 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.5169, allocations: 0 / 0.606 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.517, allocations: 0 / 0.606 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.517, allocations: 0 / 0.606 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.517, allocations: 0 / 0.606 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.5171, allocations: 93.41 kB / 0.6061 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.5171, allocations: 85.05 kB / 0.6062 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.5171, allocations: 8 kB / 0.6062 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.5172, allocations: 0 / 0.6062 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.5172, allocations: 0 / 0.6062 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.5172, allocations: 0 / 0.6062 GB, free: 13.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.266e-05/0.5172, allocations: 79.28 kB / 0.6062 GB, free: 13.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5172, allocations: 0 / 0.6062 GB, free: 13.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.5176, allocations: 82.78 kB / 0.6063 GB, free: 13.58 MB / 410.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.001063/0.5187, allocations: 0.8716 MB / 0.6072 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.536e-05/0.5188, allocations: 63.34 kB / 0.6072 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5188, allocations: 0 / 0.6072 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.777e-05/0.5188, allocations: 59.47 kB / 0.6073 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.5189, allocations: 0 / 0.6073 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.5193, allocations: 118.1 kB / 0.6074 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.5196, allocations: 0.6809 MB / 0.6081 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.028e-05/0.5196, allocations: 0 / 0.6081 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.5196, allocations: 7.438 kB / 0.6081 GB, free: 11.73 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5196, allocations: 0 / 0.6081 GB, free: 11.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.5369, allocations: 2.287 MB / 0.6103 GB, free: 9.547 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.5371, allocations: 173.5 kB / 0.6105 GB, free: 9.328 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.102, allocations: 0 / 0.6105 GB, free: 9.328 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat