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.002197/0.002197, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.455/1.455, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008485/0.0008483, allocations: 89.66 kB / 267 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4454/0.4454, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.265e-05/4.278e-05, allocations: 8 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1452, allocations: 58.85 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4915/0.6368, allocations: 84.47 MB / 0.5554 GB, free: 18.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.6371, allocations: 62.94 kB / 0.5555 GB, free: 18.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008996/0.6461, allocations: 3.025 MB / 0.5584 GB, free: 16.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6461, allocations: 0 / 0.5584 GB, free: 16.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.6461, allocations: 0 / 0.5584 GB, free: 16.81 MB / 394.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.0003599/0.6465, allocations: 363.4 kB / 0.5588 GB, free: 16.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/0.6466, allocations: 8.031 kB / 0.5588 GB, free: 16.42 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.564e-05/0.6467, allocations: 43.81 kB / 0.5588 GB, free: 16.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.6467, allocations: 9.625 kB / 0.5588 GB, free: 16.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.6469, allocations: 172.3 kB / 0.559 GB, free: 16.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.6469, allocations: 0 / 0.559 GB, free: 16.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.647, allocations: 6.75 kB / 0.559 GB, free: 16.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.6471, allocations: 48.78 kB / 0.559 GB, free: 16.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.6472, allocations: 5.375 kB / 0.559 GB, free: 16.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.6472, allocations: 9.344 kB / 0.559 GB, free: 16.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.6472, allocations: 0 / 0.559 GB, free: 16.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.707e-05/0.6473, allocations: 23.92 kB / 0.5591 GB, free: 16.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.6475, allocations: 179.9 kB / 0.5592 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.6478, allocations: 53.16 kB / 0.5593 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.6478, allocations: 23.05 kB / 0.5593 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/0.6481, allocations: 106.9 kB / 0.5594 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.6481, allocations: 42.09 kB / 0.5595 GB, free: 15.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.645e-06/0.6481, allocations: 0 / 0.5595 GB, free: 15.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.122/0.7701, allocations: 5.393 MB / 0.5647 GB, free: 12.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.7702, allocations: 51.41 kB / 0.5648 GB, free: 12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.7704, allocations: 98.67 kB / 0.5649 GB, free: 11.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.7704, allocations: 33.58 kB / 0.5649 GB, free: 11.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.7705, allocations: 80.14 kB / 0.565 GB, free: 11.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.881e-05/0.7706, allocations: 62.61 kB / 0.565 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.7706, allocations: 0 / 0.565 GB, free: 11.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.7707, allocations: 326.7 kB / 0.5653 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.771, allocations: 190.7 kB / 0.5655 GB, free: 11.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.7713, allocations: 184.1 kB / 0.5657 GB, free: 11.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007762/0.7721, allocations: 233.2 kB / 0.5659 GB, free: 11.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7721, allocations: 4 kB / 0.5659 GB, free: 11.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001222/0.7733, allocations: 0.5352 MB / 0.5665 GB, free: 10.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.7733, allocations: 4 kB / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.7734, allocations: 3.938 kB / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.7734, allocations: 3.938 kB / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.7741, allocations: 111.8 kB / 0.5666 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.7741, allocations: 8 kB / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.7745, allocations: 39.47 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/0.7746, allocations: 31.94 kB / 0.5666 GB, free: 10.45 MB / 394.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.0001694/0.7748, allocations: 113.7 kB / 0.5668 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.7749, allocations: 7.906 kB / 0.5668 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.7766, allocations: 0.65 MB / 0.5674 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.7766, allocations: 0 / 0.5674 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.7767, allocations: 0 / 0.5674 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7767, allocations: 3.938 kB / 0.5674 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.7803, allocations: 1.122 MB / 0.5685 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.7804, allocations: 7.984 kB / 0.5685 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.7809, allocations: 104 kB / 0.5686 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.7809, allocations: 4 kB / 0.5686 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-05/0.781, allocations: 27.64 kB / 0.5686 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.781, allocations: 7.938 kB / 0.5686 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.781, allocations: 0 / 0.5686 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.7822, allocations: 0.576 MB / 0.5692 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.7822, allocations: 86.58 kB / 0.5693 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.7823, allocations: 10.77 kB / 0.5693 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.7827, allocations: 39.58 kB / 0.5693 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.7827, allocations: 11.97 kB / 0.5693 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.7828, allocations: 31.39 kB / 0.5694 GB, free: 7.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.153e-05/0.7828, allocations: 83.28 kB / 0.5695 GB, free: 7.789 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7828, allocations: 0 / 0.5695 GB, free: 7.789 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00218/0.785, allocations: 0.6316 MB / 0.5701 GB, free: 7.164 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 () * 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.005298/0.7903, allocations: 1.757 MB / 0.5718 GB, free: 5.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006863/0.7911, allocations: 372.6 kB / 0.5721 GB, free: 5.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.7911, allocations: 0 / 0.5721 GB, free: 5.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.7914, allocations: 169.2 kB / 0.5723 GB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.7916, allocations: 8.062 kB / 0.5723 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.7949, allocations: 0.6001 MB / 0.5729 GB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.7951, allocations: 0.6968 MB / 0.5736 GB, free: 3.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005413/0.7956, allocations: 125.8 kB / 0.5737 GB, free: 3.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.796, allocations: 102.3 kB / 0.5738 GB, free: 3.516 MB / 394.7 MB Notification: Performance of SimCode: time 1.873e-06/0.796, allocations: 0 / 0.5738 GB, free: 3.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05149/0.8475, allocations: 21.21 MB / 0.5945 GB, free: 14.36 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/0.8478, allocations: 167.2 kB / 0.5947 GB, free: 14.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.944, allocations: 0 / 0.5947 GB, free: 14.13 MB / 426.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