Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001571/0.001571, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001113/0.001113, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.3029/0.3029, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.978e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1586, allocations: 58.87 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4987/0.6574, allocations: 84.47 MB / 0.5554 GB, free: 2.691 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.6576, allocations: 66.31 kB / 0.5554 GB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0137/0.6714, allocations: 3.017 MB / 0.5584 GB, free: 128 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6714, allocations: 0 / 0.5584 GB, free: 128 kB / 362.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.6714, allocations: 0 / 0.5584 GB, free: 128 kB / 362.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.0004607/0.6719, allocations: 366.8 kB / 0.5587 GB, free: 15.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.672, allocations: 8.031 kB / 0.5588 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.672, allocations: 33.81 kB / 0.5588 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.6721, allocations: 12.48 kB / 0.5588 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.6723, allocations: 167 kB / 0.559 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.6723, allocations: 7.938 kB / 0.559 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.6723, allocations: 11.36 kB / 0.559 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.6725, allocations: 48.31 kB / 0.559 GB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6725, allocations: 4 kB / 0.559 GB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.6725, allocations: 0 / 0.559 GB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.6726, allocations: 4 kB / 0.559 GB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.031e-05/0.6727, allocations: 22.69 kB / 0.559 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.6729, allocations: 187.2 kB / 0.5592 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.6732, allocations: 52.56 kB / 0.5593 GB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.6733, allocations: 26.3 kB / 0.5593 GB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/0.6736, allocations: 111.8 kB / 0.5594 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.6737, allocations: 30.56 kB / 0.5594 GB, free: 14.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.6737, allocations: 0 / 0.5594 GB, free: 14.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.2489/0.9226, allocations: 5.394 MB / 0.5647 GB, free: 9.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.9227, allocations: 55.41 kB / 0.5648 GB, free: 9.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.9229, allocations: 95.98 kB / 0.5648 GB, free: 9.555 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-05/0.9229, allocations: 25.7 kB / 0.5649 GB, free: 9.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.923, allocations: 153.6 kB / 0.565 GB, free: 9.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.9232, allocations: 62.22 kB / 0.5651 GB, free: 9.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.9232, allocations: 3.062 kB / 0.5651 GB, free: 9.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.9234, allocations: 334.5 kB / 0.5654 GB, free: 8.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/0.9239, allocations: 183.6 kB / 0.5656 GB, free: 8.887 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.9245, allocations: 188.5 kB / 0.5658 GB, free: 8.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.926, allocations: 242 kB / 0.566 GB, free: 8.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9261, allocations: 0 / 0.566 GB, free: 8.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002428/0.9285, allocations: 0.5291 MB / 0.5665 GB, free: 8.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.9285, allocations: 4 kB / 0.5665 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.9286, allocations: 0 / 0.5665 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.9286, allocations: 4 kB / 0.5665 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.9299, allocations: 115.8 kB / 0.5666 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.9299, allocations: 0 / 0.5666 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009166/0.9309, allocations: 35.91 kB / 0.5667 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.931, allocations: 42.94 kB / 0.5667 GB, free: 8.039 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 () * 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.00019/0.9312, allocations: 108.5 kB / 0.5668 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.9313, allocations: 7.906 kB / 0.5668 GB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/0.9343, allocations: 0.648 MB / 0.5674 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.9343, allocations: 0 / 0.5674 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9344, allocations: 4 kB / 0.5674 GB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.9344, allocations: 0 / 0.5674 GB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006753/0.9411, allocations: 1.121 MB / 0.5685 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.9412, allocations: 0 / 0.5685 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.9423, allocations: 103.8 kB / 0.5686 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.9423, allocations: 4 kB / 0.5686 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/0.9424, allocations: 30.27 kB / 0.5687 GB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.9424, allocations: 8.188 kB / 0.5687 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.9425, allocations: 4 kB / 0.5687 GB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.9447, allocations: 0.5659 MB / 0.5692 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.9448, allocations: 89.02 kB / 0.5693 GB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/0.9449, allocations: 15.33 kB / 0.5693 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008242/0.9457, allocations: 39.89 kB / 0.5694 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.9458, allocations: 11.98 kB / 0.5694 GB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.061e-05/0.9459, allocations: 27.95 kB / 0.5694 GB, free: 5.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.318e-05/0.9459, allocations: 82.47 kB / 0.5695 GB, free: 5.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.946, allocations: 4 kB / 0.5695 GB, free: 5.367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002487/0.9485, allocations: 0.6317 MB / 0.5701 GB, free: 4.742 MB / 378.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 () * 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.007303/0.9558, allocations: 1.753 MB / 0.5718 GB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.9571, allocations: 373.9 kB / 0.5722 GB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.9571, allocations: 0 / 0.5722 GB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.9576, allocations: 163.8 kB / 0.5723 GB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.9579, allocations: 7.938 kB / 0.5723 GB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.9635, allocations: 0.6325 MB / 0.573 GB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.9639, allocations: 0.7006 MB / 0.5736 GB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/0.9645, allocations: 106.2 kB / 0.5737 GB, free: 1.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.9646, allocations: 0 / 0.5737 GB, free: 1.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.178/4.143, allocations: 17.26 MB / 0.5906 GB, free: 15.88 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat