Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002225/0.002225, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 85.67 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2904/0.2904, allocations: 43.5 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.916e-05, allocations: 0 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3928, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.5568, allocations: 83.25 MB / 0.5473 GB, free: 15.96 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.5571, allocations: 71.44 kB / 0.5474 GB, free: 15.89 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.002061/0.5592, allocations: 0.5646 MB / 0.5479 GB, free: 15.33 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5592, allocations: 0 / 0.5479 GB, free: 15.33 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.5593, allocations: 0 / 0.5479 GB, free: 15.33 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003494/0.5596, allocations: 322.5 kB / 0.5482 GB, free: 14.97 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.5597, allocations: 11.97 kB / 0.5482 GB, free: 14.96 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.5597, allocations: 8 kB / 0.5482 GB, free: 14.95 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.5599, allocations: 163 kB / 0.5484 GB, free: 14.75 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.5599, allocations: 0 / 0.5484 GB, free: 14.75 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.5599, allocations: 4 kB / 0.5484 GB, free: 14.75 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.88e-05/0.56, allocations: 8 kB / 0.5484 GB, free: 14.74 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.5601, allocations: 51.41 kB / 0.5484 GB, free: 14.68 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5602, allocations: 0 / 0.5484 GB, free: 14.68 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5602, allocations: 0 / 0.5484 GB, free: 14.68 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5602, allocations: 4 kB / 0.5485 GB, free: 14.67 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.5605, allocations: 305.6 kB / 0.5487 GB, free: 14.33 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.216e-05/0.5606, allocations: 26.52 kB / 0.5488 GB, free: 14.3 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.5607, allocations: 8.859 kB / 0.5488 GB, free: 14.29 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.5607, allocations: 4 kB / 0.5488 GB, free: 14.28 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.5608, allocations: 38.56 kB / 0.5488 GB, free: 14.23 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 3.957e-06/0.5608, allocations: 3.984 kB / 0.5488 GB, free: 14.23 MB / 395.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002538/0.561, allocations: 54.25 kB / 0.5489 GB, free: 14.17 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.5611, allocations: 51.41 kB / 0.5489 GB, free: 14.11 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.5612, allocations: 89 kB / 0.549 GB, free: 14.02 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.5612, allocations: 25.7 kB / 0.549 GB, free: 13.98 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.5613, allocations: 150.6 kB / 0.5492 GB, free: 13.84 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.5613, allocations: 15.8 kB / 0.5492 GB, free: 13.82 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.5613, allocations: 4.125 kB / 0.5492 GB, free: 13.82 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5615, allocations: 318.8 kB / 0.5495 GB, free: 13.5 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.5615, allocations: 4 kB / 0.5495 GB, free: 13.49 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.099e-05/0.5616, allocations: 21 kB / 0.5495 GB, free: 13.47 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.958e-05/0.5617, allocations: 7.984 kB / 0.5495 GB, free: 13.46 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5617, allocations: 0 / 0.5495 GB, free: 13.46 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001561/0.5619, allocations: 53.62 kB / 0.5496 GB, free: 13.4 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5619, allocations: 12.03 kB / 0.5496 GB, free: 13.39 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5619, allocations: 0 / 0.5496 GB, free: 13.39 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5619, allocations: 0 / 0.5496 GB, free: 13.39 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.5621, allocations: 8 kB / 0.5496 GB, free: 13.38 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5621, allocations: 0 / 0.5496 GB, free: 13.38 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.5621, allocations: 3.938 kB / 0.5496 GB, free: 13.38 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.5622, allocations: 4 kB / 0.5496 GB, free: 13.38 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.318e-05/0.5623, allocations: 112.9 kB / 0.5497 GB, free: 13.26 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001522/0.5624, allocations: 45.62 kB / 0.5498 GB, free: 13.21 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.5625, allocations: 7.906 kB / 0.5498 GB, free: 13.2 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.5627, allocations: 57.81 kB / 0.5498 GB, free: 13.13 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5628, allocations: 4 kB / 0.5498 GB, free: 13.13 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5628, allocations: 0 / 0.5498 GB, free: 13.13 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5628, allocations: 192 / 0.5498 GB, free: 13.13 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.563, allocations: 142.2 kB / 0.55 GB, free: 12.95 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.563, allocations: 0 / 0.55 GB, free: 12.95 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-05/0.5631, allocations: 8 kB / 0.55 GB, free: 12.95 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.5631, allocations: 0 / 0.55 GB, free: 12.95 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.5631, allocations: 0 / 0.55 GB, free: 12.95 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5631, allocations: 0 / 0.55 GB, free: 12.95 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.5632, allocations: 7.984 kB / 0.55 GB, free: 12.94 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.5634, allocations: 151.4 kB / 0.5501 GB, free: 12.77 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.5635, allocations: 85.02 kB / 0.5502 GB, free: 12.67 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.5635, allocations: 0 / 0.5502 GB, free: 12.67 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.5636, allocations: 3.938 kB / 0.5502 GB, free: 12.67 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.5636, allocations: 3.938 kB / 0.5502 GB, free: 12.66 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.5636, allocations: 4 kB / 0.5502 GB, free: 12.66 MB / 395.1 MB Notification: Performance of sorting global known variables: time 4.826e-05/0.5637, allocations: 83.28 kB / 0.5503 GB, free: 12.58 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5637, allocations: 0 / 0.5503 GB, free: 12.58 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.564, allocations: 11.98 kB / 0.5503 GB, free: 12.57 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.000581/0.5646, allocations: 0.6773 MB / 0.551 GB, free: 11.86 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.5648, allocations: 16 kB / 0.551 GB, free: 11.84 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.5648, allocations: 8.156 kB / 0.551 GB, free: 11.84 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.5648, allocations: 12 kB / 0.551 GB, free: 11.82 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.565, allocations: 0 / 0.551 GB, free: 11.82 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/0.5657, allocations: 133.8 kB / 0.5511 GB, free: 11.65 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.5662, allocations: 0.6806 MB / 0.5518 GB, free: 10.95 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.5662, allocations: 11.44 kB / 0.5518 GB, free: 10.93 MB / 395.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5662, allocations: 0 / 0.5518 GB, free: 10.93 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.461/3.027, allocations: 0.7491 MB / 0.5525 GB, free: 10.19 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat