Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.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.TestInternal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002024/0.002024, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.2 MB / 245 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001188, allocations: 102.2 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4711/0.4711, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004567, allocations: 8.219 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4572, allocations: 63.25 MB / 0.5193 GB, free: 37.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.6008, allocations: 86.89 MB / 0.6041 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.6011, allocations: 67.94 kB / 0.6042 GB, free: 480 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004656/0.6058, allocations: 1.667 MB / 0.6058 GB, free: 14.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.492e-06/0.6058, allocations: 0 / 0.6058 GB, free: 14.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.6059, allocations: 3.938 kB / 0.6058 GB, free: 14.79 MB / 426.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.0003463/0.6062, allocations: 377 kB / 0.6062 GB, free: 14.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.6063, allocations: 8.031 kB / 0.6062 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.6063, allocations: 30.56 kB / 0.6062 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.6063, allocations: 0 / 0.6062 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.6065, allocations: 167 kB / 0.6064 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.6065, allocations: 0 / 0.6064 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.6065, allocations: 4 kB / 0.6064 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.57e-05/0.6066, allocations: 25.7 kB / 0.6064 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.6066, allocations: 4 kB / 0.6064 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.6066, allocations: 3.938 kB / 0.6064 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.6066, allocations: 4 kB / 0.6064 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.6067, allocations: 3.938 kB / 0.6064 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.6069, allocations: 149.6 kB / 0.6066 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.444e-05/0.6069, allocations: 22.61 kB / 0.6066 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.6069, allocations: 0 / 0.6066 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.607, allocations: 60.27 kB / 0.6066 GB, free: 13.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.607, allocations: 0 / 0.6066 GB, free: 13.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002182/0.6072, allocations: 67.39 kB / 0.6067 GB, free: 13.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.6073, allocations: 77.11 kB / 0.6068 GB, free: 13.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.882e-05/0.6073, allocations: 89 kB / 0.6069 GB, free: 13.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.6074, allocations: 25.7 kB / 0.6069 GB, free: 13.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.6074, allocations: 84.14 kB / 0.607 GB, free: 13.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.6074, allocations: 0 / 0.607 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.6075, allocations: 0 / 0.607 GB, free: 13.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6076, allocations: 315 kB / 0.6073 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.6076, allocations: 0 / 0.6073 GB, free: 13.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.6076, allocations: 0 / 0.6073 GB, free: 13.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.6077, allocations: 29.7 kB / 0.6073 GB, free: 13.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6077, allocations: 0 / 0.6073 GB, free: 13.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.596e-05/0.6078, allocations: 71.34 kB / 0.6074 GB, free: 12.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.6078, allocations: 29.7 kB / 0.6074 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.6078, allocations: 0 / 0.6074 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.6079, allocations: 4.031 kB / 0.6074 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.6079, allocations: 4 kB / 0.6074 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.6079, allocations: 4 kB / 0.6074 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.6079, allocations: 7.938 kB / 0.6074 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.6079, allocations: 0 / 0.6074 GB, free: 12.9 MB / 426.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 () * Number of clocked 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 9.531e-05/0.608, allocations: 135.5 kB / 0.6075 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.608, allocations: 7.953 kB / 0.6075 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.6081, allocations: 6.719 kB / 0.6076 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.6081, allocations: 0 / 0.6076 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6081, allocations: 4 kB / 0.6076 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6081, allocations: 0 / 0.6076 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.565e-05/0.6082, allocations: 141.7 kB / 0.6077 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.6082, allocations: 7.984 kB / 0.6077 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.6082, allocations: 3.938 kB / 0.6077 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.6082, allocations: 3.953 kB / 0.6077 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.6082, allocations: 0 / 0.6077 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6082, allocations: 0 / 0.6077 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.6082, allocations: 0 / 0.6077 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.6084, allocations: 94.78 kB / 0.6078 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.6084, allocations: 81.09 kB / 0.6079 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.6084, allocations: 3.953 kB / 0.6079 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.149e-05/0.6085, allocations: 4 kB / 0.6079 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.6085, allocations: 4 kB / 0.6079 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.6085, allocations: 0 / 0.6079 GB, free: 12.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.614e-05/0.6085, allocations: 75.28 kB / 0.608 GB, free: 12.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6085, allocations: 0 / 0.608 GB, free: 12.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.6088, allocations: 27.97 kB / 0.608 GB, free: 12.2 MB / 426.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) * Number of clocked states: 0 () * 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.0008909/0.6097, allocations: 0.7931 MB / 0.6088 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.212e-05/0.6098, allocations: 63.33 kB / 0.6088 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6098, allocations: 0 / 0.6088 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.491e-05/0.6099, allocations: 59.39 kB / 0.6089 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.999e-05/0.61, allocations: 17.12 kB / 0.6089 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.6102, allocations: 124.3 kB / 0.609 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.6105, allocations: 0.677 MB / 0.6097 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.322e-06/0.6105, allocations: 0 / 0.6097 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.6105, allocations: 7.438 kB / 0.6097 GB, free: 10.39 MB / 426.7 MB Notification: Performance of SimCode: time 4.6e-07/0.6106, allocations: 0 / 0.6097 GB, free: 10.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.6233, allocations: 1.367 MB / 0.611 GB, free: 9.129 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/0.6236, allocations: 203 kB / 0.6112 GB, free: 8.891 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.199, allocations: 4.062 kB / 0.6112 GB, free: 8.887 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat