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.0009853/0.0009854, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009402/0.0009402, allocations: 103.1 kB / 286.7 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2016/0.2016, allocations: 45.15 MB / 383.8 MB, free: 216 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.495e-05/1.497e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 63.25 MB / 0.5044 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4082/0.518, allocations: 86.15 MB / 0.5886 GB, free: 32 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.5182, allocations: 62.16 kB / 0.5886 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004035/0.5223, allocations: 1.667 MB / 0.5903 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5223, allocations: 0 / 0.5903 GB, free: 14.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.5223, allocations: 0 / 0.5903 GB, free: 14.59 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.0002864/0.5226, allocations: 351.5 kB / 0.5906 GB, free: 14.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.5227, allocations: 16.03 kB / 0.5906 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.5227, allocations: 0 / 0.5906 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.551e-05/0.5228, allocations: 167 kB / 0.5908 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5228, allocations: 0 / 0.5908 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.5228, allocations: 0 / 0.5908 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.341e-05/0.5229, allocations: 4 kB / 0.5908 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.101e-05/0.523, allocations: 36.98 kB / 0.5908 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.523, allocations: 0 / 0.5908 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.523, allocations: 0 / 0.5908 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.523, allocations: 0 / 0.5908 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.5231, allocations: 134.2 kB / 0.5909 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.289e-05/0.5232, allocations: 14.58 kB / 0.591 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.21e-05/0.5232, allocations: 8.797 kB / 0.591 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.5232, allocations: 0 / 0.591 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.5233, allocations: 63.36 kB / 0.591 GB, free: 13.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.5233, allocations: 2.734 kB / 0.591 GB, free: 13.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001631/0.5234, allocations: 41.67 kB / 0.5911 GB, free: 13.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.5235, allocations: 77.11 kB / 0.5911 GB, free: 13.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.987e-05/0.5235, allocations: 85 kB / 0.5912 GB, free: 13.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.5235, allocations: 30.45 kB / 0.5913 GB, free: 13.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.5236, allocations: 80.14 kB / 0.5913 GB, free: 13.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.5236, allocations: 0 / 0.5913 GB, free: 13.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-06/0.5236, allocations: 0 / 0.5913 GB, free: 13.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5237, allocations: 314.7 kB / 0.5916 GB, free: 13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-06/0.5237, allocations: 0 / 0.5916 GB, free: 13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-06/0.5238, allocations: 4.031 kB / 0.5916 GB, free: 12.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.5238, allocations: 7.984 kB / 0.5916 GB, free: 12.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5238, allocations: 7.875 kB / 0.5916 GB, free: 12.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.067e-05/0.5239, allocations: 33.66 kB / 0.5917 GB, free: 12.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.5239, allocations: 33.7 kB / 0.5917 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5239, allocations: 0 / 0.5917 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5239, allocations: 0 / 0.5917 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.5239, allocations: 0.875 kB / 0.5917 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.524, allocations: 0 / 0.5917 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.524, allocations: 4.094 kB / 0.5917 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.524, allocations: 4 kB / 0.5917 GB, free: 12.89 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.842e-05/0.5241, allocations: 130.7 kB / 0.5918 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.789e-05/0.5241, allocations: 41.53 kB / 0.5919 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.5242, allocations: 4 kB / 0.5919 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.444e-05/0.5242, allocations: 7.703 kB / 0.5919 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.5242, allocations: 11.88 kB / 0.5919 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.5242, allocations: 0 / 0.5919 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5242, allocations: 0 / 0.5919 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.148e-05/0.5243, allocations: 130.3 kB / 0.592 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5243, allocations: 0 / 0.592 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-06/0.5243, allocations: 4 kB / 0.592 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5243, allocations: 3.953 kB / 0.592 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.5243, allocations: 0 / 0.592 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.5243, allocations: 0 / 0.592 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5243, allocations: 0 / 0.592 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.042e-05/0.5244, allocations: 64.19 kB / 0.5921 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.5245, allocations: 81.11 kB / 0.5922 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.5245, allocations: 3.953 kB / 0.5922 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-06/0.5245, allocations: 0 / 0.5922 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.5245, allocations: 0 / 0.5922 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.5245, allocations: 0 / 0.5922 GB, free: 12.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.5246, allocations: 79.28 kB / 0.5923 GB, free: 12.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5246, allocations: 0 / 0.5923 GB, free: 12.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001999/0.5248, allocations: 31.92 kB / 0.5923 GB, free: 12.23 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.0007668/0.5255, allocations: 0.7636 MB / 0.593 GB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.776e-05/0.5256, allocations: 58.66 kB / 0.5931 GB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5256, allocations: 4.062 kB / 0.5931 GB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.5257, allocations: 59.34 kB / 0.5931 GB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.854e-05/0.5258, allocations: 6.344 kB / 0.5932 GB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.526, allocations: 93.69 kB / 0.5932 GB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.5263, allocations: 0.6729 MB / 0.5939 GB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.17e-06/0.5263, allocations: 0 / 0.5939 GB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.5263, allocations: 11.38 kB / 0.5939 GB, free: 10.5 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5263, allocations: 3.938 kB / 0.5939 GB, free: 10.49 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.5459, allocations: 1.093 MB / 0.595 GB, free: 9.414 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.5462, allocations: 153.9 kB / 0.5951 GB, free: 9.227 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.034, allocations: 0 / 0.5951 GB, free: 9.227 MB / 394.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