Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",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.002128/0.002129, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001046, allocations: 98.78 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2155/0.2155, allocations: 43.55 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 58.87 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4118/0.5519, allocations: 84.56 MB / 0.5614 GB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.5522, allocations: 63.72 kB / 0.5615 GB, free: 15.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009278/0.5615, allocations: 3.036 MB / 0.5645 GB, free: 12.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5616, allocations: 0 / 0.5645 GB, free: 12.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.5616, allocations: 4 kB / 0.5645 GB, free: 12.52 MB / 378.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.0003954/0.562, allocations: 367.5 kB / 0.5648 GB, free: 12.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.5621, allocations: 12.03 kB / 0.5648 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.5621, allocations: 34.19 kB / 0.5649 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.5621, allocations: 11.86 kB / 0.5649 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.5623, allocations: 170.9 kB / 0.565 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.5623, allocations: 11.69 kB / 0.565 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.5623, allocations: 0 / 0.565 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.5625, allocations: 48.5 kB / 0.5651 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.5625, allocations: 15.89 kB / 0.5651 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.5625, allocations: 3.562 kB / 0.5651 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5625, allocations: 3.938 kB / 0.5651 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.157e-05/0.5626, allocations: 23.73 kB / 0.5651 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.5628, allocations: 176.7 kB / 0.5653 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.563, allocations: 56.3 kB / 0.5654 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.5633, allocations: 109.1 kB / 0.5655 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.5633, allocations: 34.56 kB / 0.5655 GB, free: 11.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.5633, allocations: 0 / 0.5655 GB, free: 11.32 MB / 378.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.1247/0.6881, allocations: 6.312 MB / 0.5717 GB, free: 5.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.6882, allocations: 55.69 kB / 0.5717 GB, free: 5.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.6883, allocations: 99.19 kB / 0.5718 GB, free: 5.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.6883, allocations: 32.77 kB / 0.5718 GB, free: 5.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.6884, allocations: 88.08 kB / 0.5719 GB, free: 4.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.873e-05/0.6885, allocations: 64.44 kB / 0.572 GB, free: 4.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.6885, allocations: 7 kB / 0.572 GB, free: 4.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6887, allocations: 317.9 kB / 0.5723 GB, free: 4.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/0.6892, allocations: 247.3 kB / 0.5725 GB, free: 4.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005038/0.6897, allocations: 244.3 kB / 0.5728 GB, free: 4.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.6908, allocations: 293.4 kB / 0.573 GB, free: 4.094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6908, allocations: 0 / 0.573 GB, free: 4.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001847/0.6927, allocations: 0.6406 MB / 0.5737 GB, free: 3.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6927, allocations: 8 kB / 0.5737 GB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6927, allocations: 7.922 kB / 0.5737 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.6928, allocations: 0 / 0.5737 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.6935, allocations: 115.8 kB / 0.5738 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.6935, allocations: 0 / 0.5738 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.694, allocations: 39.86 kB / 0.5738 GB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/0.6941, allocations: 31.94 kB / 0.5739 GB, free: 3.426 MB / 378.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.0001617/0.6943, allocations: 125.3 kB / 0.574 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.6943, allocations: 7.906 kB / 0.574 GB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.6965, allocations: 0.7572 MB / 0.5747 GB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.6965, allocations: 4 kB / 0.5747 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6965, allocations: 0 / 0.5747 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.6965, allocations: 3.984 kB / 0.5747 GB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.7009, allocations: 1.217 MB / 0.5759 GB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.7009, allocations: 3.953 kB / 0.5759 GB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.7015, allocations: 112 kB / 0.576 GB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.7015, allocations: 0 / 0.576 GB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.7016, allocations: 31.14 kB / 0.5761 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.7016, allocations: 0 / 0.5761 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7016, allocations: 4 kB / 0.5761 GB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.7034, allocations: 0.6813 MB / 0.5767 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.7034, allocations: 85.02 kB / 0.5768 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.7035, allocations: 7.938 kB / 0.5768 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.704, allocations: 35.41 kB / 0.5769 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.704, allocations: 19.66 kB / 0.5769 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.704, allocations: 27.95 kB / 0.5769 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.293e-05/0.7041, allocations: 95.02 kB / 0.577 GB, free: 460 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7041, allocations: 0 / 0.577 GB, free: 460 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001816/0.7059, allocations: 0.628 MB / 0.5776 GB, free: 15.82 MB / 394.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.005081/0.711, allocations: 1.883 MB / 0.5794 GB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.7122, allocations: 476.2 kB / 0.5799 GB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.7122, allocations: 7.938 kB / 0.5799 GB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.7127, allocations: 218.7 kB / 0.5801 GB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.713, allocations: 11.84 kB / 0.5801 GB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.7165, allocations: 0.7243 MB / 0.5808 GB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.7168, allocations: 0.6929 MB / 0.5815 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005483/0.7174, allocations: 128.9 kB / 0.5816 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/0.7177, allocations: 97.34 kB / 0.5817 GB, free: 11.77 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.7177, allocations: 0 / 0.5817 GB, free: 11.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/0.7611, allocations: 21.23 MB / 0.6025 GB, free: 6.543 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.7614, allocations: 203.3 kB / 0.6026 GB, free: 6.297 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.821, allocations: 0 / 0.6026 GB, free: 6.297 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat