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.001105/0.001105, 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.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008257/0.0008259, allocations: 90.06 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1814/0.1814, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.566e-05/3.598e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.0992, allocations: 63.25 MB / 0.5114 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3666/0.4658, allocations: 86.82 MB / 0.5962 GB, free: 6.969 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001523/0.466, allocations: 59.05 kB / 0.5963 GB, free: 6.941 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003969/0.47, allocations: 1.671 MB / 0.5979 GB, free: 5.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.47, allocations: 0 / 0.5979 GB, free: 5.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.47, allocations: 0 / 0.5979 GB, free: 5.504 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.0003021/0.4704, allocations: 358.3 kB / 0.5983 GB, free: 5.105 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4704, allocations: 19.97 kB / 0.5983 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.4705, allocations: 31.06 kB / 0.5983 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.4705, allocations: 0 / 0.5983 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.824e-05/0.4706, allocations: 167.5 kB / 0.5985 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.4706, allocations: 0 / 0.5985 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.4706, allocations: 0 / 0.5985 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.802e-05/0.4707, allocations: 34.45 kB / 0.5985 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.4707, allocations: 0 / 0.5985 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.4707, allocations: 0 / 0.5985 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.4707, allocations: 3.938 kB / 0.5985 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.4708, allocations: 8 kB / 0.5985 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.4709, allocations: 147.6 kB / 0.5987 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.298e-05/0.471, allocations: 23.72 kB / 0.5987 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.471, allocations: 4.859 kB / 0.5987 GB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.471, allocations: 0 / 0.5987 GB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/0.4711, allocations: 64.36 kB / 0.5987 GB, free: 4.488 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4711, allocations: 4 kB / 0.5987 GB, free: 4.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.4712, allocations: 64.47 kB / 0.5988 GB, free: 4.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.4713, allocations: 77.67 kB / 0.5989 GB, free: 4.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.437e-05/0.4713, allocations: 88.98 kB / 0.599 GB, free: 4.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.4714, allocations: 26.27 kB / 0.599 GB, free: 4.191 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.4714, allocations: 80.14 kB / 0.5991 GB, free: 4.109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.4714, allocations: 4 kB / 0.5991 GB, free: 4.105 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.4714, allocations: 0.5 kB / 0.5991 GB, free: 4.105 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4715, allocations: 315.5 kB / 0.5994 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-06/0.4716, allocations: 0 / 0.5994 GB, free: 3.789 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.4716, allocations: 0.5 kB / 0.5994 GB, free: 3.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.4716, allocations: 29.7 kB / 0.5994 GB, free: 3.754 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4716, allocations: 3.953 kB / 0.5994 GB, free: 3.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.55e-05/0.4717, allocations: 64.59 kB / 0.5995 GB, free: 3.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.4717, allocations: 34.62 kB / 0.5995 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.4717, allocations: 3.938 kB / 0.5995 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.4717, allocations: 0 / 0.5995 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.4718, allocations: 4.094 kB / 0.5995 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4718, allocations: 0 / 0.5995 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.4718, allocations: 4 kB / 0.5995 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.4718, allocations: 0 / 0.5995 GB, free: 3.625 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.268e-05/0.4719, allocations: 127.2 kB / 0.5996 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.4719, allocations: 11.94 kB / 0.5996 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.375e-05/0.4719, allocations: 7.641 kB / 0.5997 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.4719, allocations: 3.938 kB / 0.5997 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4719, allocations: 3.984 kB / 0.5997 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4719, allocations: 4 kB / 0.5997 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.4721, allocations: 142.9 kB / 0.5998 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4721, allocations: 4 kB / 0.5998 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-06/0.4721, allocations: 3.953 kB / 0.5998 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4721, allocations: 0 / 0.5998 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.4721, allocations: 0 / 0.5998 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.4721, allocations: 0 / 0.5998 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4721, allocations: 0 / 0.5998 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.4722, allocations: 98.64 kB / 0.5999 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.4723, allocations: 77.11 kB / 0.6 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.4723, allocations: 3.953 kB / 0.6 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.4723, allocations: 4 kB / 0.6 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.4723, allocations: 4.734 kB / 0.6 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.4723, allocations: 0 / 0.6 GB, free: 3.039 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.529e-05/0.4724, allocations: 75.28 kB / 0.6001 GB, free: 2.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4724, allocations: 0 / 0.6001 GB, free: 2.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.4726, allocations: 23.06 kB / 0.6001 GB, free: 2.945 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.0007806/0.4734, allocations: 0.8006 MB / 0.6009 GB, free: 2.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.635e-05/0.4735, allocations: 61.03 kB / 0.6009 GB, free: 2.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4735, allocations: 0 / 0.6009 GB, free: 2.102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.769e-05/0.4735, allocations: 51.91 kB / 0.601 GB, free: 2.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.005e-05/0.4736, allocations: 14.91 kB / 0.601 GB, free: 2.027 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.4739, allocations: 100.4 kB / 0.6011 GB, free: 1.895 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.4741, allocations: 0.677 MB / 0.6017 GB, free: 1.191 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.051e-06/0.4742, allocations: 3.938 kB / 0.6017 GB, free: 1.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.4742, allocations: 7.438 kB / 0.6018 GB, free: 1.18 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4742, allocations: 0 / 0.6018 GB, free: 1.18 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01184/0.486, allocations: 1.372 MB / 0.6031 GB, free: 15.91 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.4863, allocations: 174.8 kB / 0.6033 GB, free: 15.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.024, allocations: 0 / 0.6033 GB, free: 15.69 MB / 410.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