Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001303, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 99.47 kB / 297.2 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4369/0.4369, allocations: 45.23 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004007, allocations: 8 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4135, allocations: 63.24 MB / 0.5193 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.5706, allocations: 86.71 MB / 0.6039 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.5708, allocations: 75.91 kB / 0.604 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00965/0.5805, allocations: 3.045 MB / 0.607 GB, free: 13.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.017e-06/0.5806, allocations: 0 / 0.607 GB, free: 13.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.5806, allocations: 4 kB / 0.607 GB, free: 13.6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000534/0.5811, allocations: 371.1 kB / 0.6074 GB, free: 13.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.279e-05/0.5812, allocations: 15.97 kB / 0.6074 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.5813, allocations: 34.56 kB / 0.6074 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.5814, allocations: 15.86 kB / 0.6074 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.5815, allocations: 167 kB / 0.6076 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.5815, allocations: 4 kB / 0.6076 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.5816, allocations: 4 kB / 0.6076 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.5818, allocations: 49.67 kB / 0.6076 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.5818, allocations: 7.906 kB / 0.6076 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.5818, allocations: 4 kB / 0.6076 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.5818, allocations: 0 / 0.6076 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.792e-05/0.5819, allocations: 23.98 kB / 0.6077 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.5822, allocations: 181.5 kB / 0.6078 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.5825, allocations: 54.56 kB / 0.6079 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.5827, allocations: 109.1 kB / 0.608 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.5828, allocations: 38.56 kB / 0.608 GB, free: 12.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.5828, allocations: 4 kB / 0.608 GB, free: 12.35 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1259/0.7087, allocations: 6.313 MB / 0.6142 GB, free: 5.996 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.7088, allocations: 55.41 kB / 0.6143 GB, free: 5.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.7089, allocations: 96.98 kB / 0.6143 GB, free: 5.828 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.709, allocations: 29.64 kB / 0.6144 GB, free: 5.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.709, allocations: 88.14 kB / 0.6145 GB, free: 5.703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.477e-05/0.7091, allocations: 63.02 kB / 0.6145 GB, free: 5.641 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.7092, allocations: 4 kB / 0.6145 GB, free: 5.637 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7093, allocations: 322.8 kB / 0.6148 GB, free: 5.312 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/0.7099, allocations: 243.8 kB / 0.6151 GB, free: 5.074 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.7104, allocations: 242.5 kB / 0.6153 GB, free: 4.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.7115, allocations: 295.8 kB / 0.6156 GB, free: 4.551 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7115, allocations: 0 / 0.6156 GB, free: 4.551 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001836/0.7133, allocations: 0.6432 MB / 0.6162 GB, free: 3.902 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.7134, allocations: 6.344 kB / 0.6162 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.7134, allocations: 3.938 kB / 0.6162 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.7134, allocations: 0 / 0.6162 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.7141, allocations: 119.8 kB / 0.6163 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7142, allocations: 0 / 0.6163 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/0.7147, allocations: 39.91 kB / 0.6164 GB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.7147, allocations: 27.95 kB / 0.6164 GB, free: 3.711 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001663/0.7149, allocations: 129.8 kB / 0.6165 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.715, allocations: 7.906 kB / 0.6165 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.7172, allocations: 0.7665 MB / 0.6173 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.7172, allocations: 8 kB / 0.6173 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7173, allocations: 0 / 0.6173 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7173, allocations: 0 / 0.6173 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.7218, allocations: 1.215 MB / 0.6185 GB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.7218, allocations: 3.953 kB / 0.6185 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.7224, allocations: 111.8 kB / 0.6186 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.7225, allocations: 3.938 kB / 0.6186 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.716e-05/0.7225, allocations: 32.14 kB / 0.6186 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.7225, allocations: 4 kB / 0.6186 GB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.7226, allocations: 4 kB / 0.6186 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.7243, allocations: 0.6781 MB / 0.6193 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.7244, allocations: 85.02 kB / 0.6194 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.7245, allocations: 7.953 kB / 0.6194 GB, free: 488 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004873/0.725, allocations: 35.95 kB / 0.6194 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.725, allocations: 15.98 kB / 0.6194 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.7251, allocations: 27.95 kB / 0.6194 GB, free: 408 kB / 426.7 MB Notification: Performance of sorting global known variables: time 6.016e-05/0.7251, allocations: 87.22 kB / 0.6195 GB, free: 320 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7251, allocations: 0 / 0.6195 GB, free: 320 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.002005/0.7272, allocations: 0.6286 MB / 0.6201 GB, free: 15.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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.005663/0.7328, allocations: 1.873 MB / 0.622 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.7341, allocations: 482 kB / 0.6224 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7341, allocations: 0 / 0.6224 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.7347, allocations: 220.1 kB / 0.6226 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.7349, allocations: 8 kB / 0.6226 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.7387, allocations: 0.7267 MB / 0.6234 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.7391, allocations: 0.7046 MB / 0.624 GB, free: 11.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005781/0.7397, allocations: 120.9 kB / 0.6242 GB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.74, allocations: 103.3 kB / 0.6243 GB, free: 11.3 MB / 442.7 MB Notification: Performance of SimCode: time 6.332e-06/0.74, allocations: 0 / 0.6243 GB, free: 11.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05228/0.7923, allocations: 21.23 MB / 0.645 GB, free: 6.25 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/0.7926, allocations: 189.3 kB / 0.6452 GB, free: 6.012 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.106, allocations: 5.781 kB / 0.6452 GB, free: 6.012 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat