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.002251/0.002251, allocations: 179.2 kB / 8.363 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.093/2.093, 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.001182/0.001181, allocations: 97.77 kB / 262.1 MB, free: 13.87 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.2955/0.2955, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.529e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3981, allocations: 58.84 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.584, allocations: 83.81 MB / 0.5478 GB, free: 15.39 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.5843, allocations: 79.39 kB / 0.5479 GB, free: 15.32 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.6006, allocations: 3.004 MB / 0.5508 GB, free: 12.32 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6007, allocations: 0 / 0.5508 GB, free: 12.32 MB / 395.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.6007, allocations: 0 / 0.5508 GB, free: 12.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005418/0.6013, allocations: 362.4 kB / 0.5512 GB, free: 11.92 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.6013, allocations: 12.03 kB / 0.5512 GB, free: 11.91 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.6014, allocations: 4.531 kB / 0.5512 GB, free: 11.9 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.6015, allocations: 179 kB / 0.5514 GB, free: 11.69 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.6016, allocations: 0 / 0.5514 GB, free: 11.69 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.6016, allocations: 4 kB / 0.5514 GB, free: 11.68 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001337/0.6018, allocations: 27.98 kB / 0.5514 GB, free: 11.66 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.6019, allocations: 49.62 kB / 0.5514 GB, free: 11.6 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.6019, allocations: 0 / 0.5514 GB, free: 11.6 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.6019, allocations: 0 / 0.5514 GB, free: 11.6 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.602, allocations: 4 kB / 0.5515 GB, free: 11.6 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.6022, allocations: 150.1 kB / 0.5516 GB, free: 11.41 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.6025, allocations: 54.5 kB / 0.5516 GB, free: 11.35 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.6027, allocations: 24.86 kB / 0.5517 GB, free: 11.32 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004162/0.6031, allocations: 113.3 kB / 0.5518 GB, free: 11.2 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.6032, allocations: 42.44 kB / 0.5518 GB, free: 11.14 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 2.695e-06/0.6032, allocations: 0 / 0.5518 GB, free: 11.14 MB / 395.1 MB Notification: Performance of matching and sorting (n=19): time 0.2571/0.8603, allocations: 5.445 MB / 0.5571 GB, free: 5.664 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.8604, allocations: 59.41 kB / 0.5572 GB, free: 5.594 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.8606, allocations: 93 kB / 0.5573 GB, free: 5.496 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.8606, allocations: 25.7 kB / 0.5573 GB, free: 5.465 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.8607, allocations: 154.6 kB / 0.5575 GB, free: 5.312 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.8609, allocations: 63.09 kB / 0.5575 GB, free: 5.25 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.861, allocations: 0 / 0.5575 GB, free: 5.25 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.8611, allocations: 318.8 kB / 0.5578 GB, free: 4.93 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.8616, allocations: 187.9 kB / 0.558 GB, free: 4.746 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.8621, allocations: 191.4 kB / 0.5582 GB, free: 4.562 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.8642, allocations: 279.8 kB / 0.5584 GB, free: 4.289 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.8643, allocations: 0 / 0.5584 GB, free: 4.289 MB / 395.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00289/0.8672, allocations: 0.5714 MB / 0.559 GB, free: 3.711 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.8672, allocations: 8 kB / 0.559 GB, free: 3.703 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.8673, allocations: 0 / 0.559 GB, free: 3.703 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.8673, allocations: 0 / 0.559 GB, free: 3.703 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.8686, allocations: 111.8 kB / 0.5591 GB, free: 3.594 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.8687, allocations: 0 / 0.5591 GB, free: 3.594 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009273/0.8696, allocations: 35.95 kB / 0.5592 GB, free: 3.559 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.8697, allocations: 31.94 kB / 0.5592 GB, free: 3.527 MB / 395.1 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.0002014/0.8699, allocations: 108.9 kB / 0.5593 GB, free: 3.414 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002878/0.8728, allocations: 0.5714 MB / 0.5598 GB, free: 2.836 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.8729, allocations: 7.906 kB / 0.5599 GB, free: 2.828 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003454/0.8764, allocations: 0.6886 MB / 0.5605 GB, free: 2.137 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.8765, allocations: 0 / 0.5605 GB, free: 2.137 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.8765, allocations: 0 / 0.5605 GB, free: 2.137 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.8765, allocations: 4 kB / 0.5605 GB, free: 2.133 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007153/0.8837, allocations: 1.119 MB / 0.5616 GB, free: 0.9492 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.8837, allocations: 3.938 kB / 0.5616 GB, free: 0.9453 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.8849, allocations: 108 kB / 0.5617 GB, free: 0.8398 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/0.8849, allocations: 4 kB / 0.5617 GB, free: 0.8359 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/0.885, allocations: 23.95 kB / 0.5618 GB, free: 0.8125 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.885, allocations: 7.953 kB / 0.5618 GB, free: 0.8047 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/0.885, allocations: 7.938 kB / 0.5618 GB, free: 0.7969 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/0.8877, allocations: 0.6104 MB / 0.5624 GB, free: 120 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.8878, allocations: 89 kB / 0.5625 GB, free: 12 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/0.8879, allocations: 4 kB / 0.5625 GB, free: 8 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008603/0.8888, allocations: 28.16 kB / 0.5625 GB, free: 15.98 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.8889, allocations: 19.88 kB / 0.5625 GB, free: 15.96 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.463e-05/0.889, allocations: 40.14 kB / 0.5625 GB, free: 15.92 MB / 411.1 MB Notification: Performance of sorting global known variables: time 6.492e-05/0.8891, allocations: 83.27 kB / 0.5626 GB, free: 15.84 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8891, allocations: 0 / 0.5626 GB, free: 15.84 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.00251/0.8916, allocations: 0.6247 MB / 0.5632 GB, free: 15.21 MB / 411.1 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.007637/0.8993, allocations: 1.789 MB / 0.565 GB, free: 13.36 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.9004, allocations: 371 kB / 0.5653 GB, free: 13 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.9005, allocations: 0 / 0.5653 GB, free: 13 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.901, allocations: 159.8 kB / 0.5655 GB, free: 12.84 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.9012, allocations: 7.984 kB / 0.5655 GB, free: 12.84 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005563/0.9068, allocations: 0.6096 MB / 0.5661 GB, free: 12.16 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.9072, allocations: 0.7004 MB / 0.5668 GB, free: 11.44 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.9078, allocations: 95.28 kB / 0.5669 GB, free: 11.34 MB / 411.1 MB Notification: Performance of SimCode: time 1.522e-06/0.9078, allocations: 0 / 0.5669 GB, free: 11.34 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.249/4.157, allocations: 18.25 MB / 0.5847 GB, free: 9.051 MB / 427.1 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