Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 241 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 89.8 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4188/0.4188, allocations: 44.21 MB / 387.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003249, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3177, allocations: 61.91 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.434, allocations: 85.77 MB / 0.5934 GB, free: 9.363 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.4343, allocations: 67.92 kB / 0.5935 GB, free: 9.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01006/0.4444, allocations: 3.198 MB / 0.5966 GB, free: 6.102 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.4445, allocations: 0 / 0.5966 GB, free: 6.102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.4445, allocations: 0 / 0.5966 GB, free: 6.102 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005455/0.445, allocations: 379.1 kB / 0.5969 GB, free: 5.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.093e-05/0.4451, allocations: 12.03 kB / 0.597 GB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.882e-05/0.4452, allocations: 34.56 kB / 0.597 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.4452, allocations: 11.84 kB / 0.597 GB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.4454, allocations: 163.1 kB / 0.5972 GB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.4455, allocations: 7.953 kB / 0.5972 GB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.4455, allocations: 8 kB / 0.5972 GB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.4457, allocations: 57.67 kB / 0.5972 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4457, allocations: 0 / 0.5972 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.4457, allocations: 4 kB / 0.5972 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.4458, allocations: 8 kB / 0.5972 GB, free: 5.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.4459, allocations: 44.77 kB / 0.5973 GB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.4462, allocations: 177.5 kB / 0.5974 GB, free: 5.062 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.4463, allocations: 90.44 kB / 0.5975 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.4466, allocations: 113.1 kB / 0.5976 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.4467, allocations: 34.56 kB / 0.5977 GB, free: 4.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.4467, allocations: 0 / 0.5977 GB, free: 4.793 MB / 410.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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1214/0.5681, allocations: 5.549 MB / 0.6031 GB, free: 15.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.5682, allocations: 55.34 kB / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.5683, allocations: 89 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.5683, allocations: 29.7 kB / 0.6033 GB, free: 15.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.5684, allocations: 80.52 kB / 0.6033 GB, free: 14.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.27e-05/0.5685, allocations: 78.83 kB / 0.6034 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.5685, allocations: 8 kB / 0.6034 GB, free: 14.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5686, allocations: 322.8 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.569, allocations: 140 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.5694, allocations: 135.9 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007228/0.5701, allocations: 175.9 kB / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5701, allocations: 0 / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001201/0.5713, allocations: 404.2 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.5714, allocations: 4 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5714, allocations: 0 / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.5714, allocations: 4 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.5718, allocations: 99.84 kB / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5718, allocations: 0 / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.5721, allocations: 35.91 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.5721, allocations: 19.98 kB / 0.6047 GB, free: 13.52 MB / 426.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 (23): * Single equations (assignments): 23 * 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.0001413/0.5723, allocations: 126.3 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.5723, allocations: 11.91 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.5739, allocations: 473.8 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5739, allocations: 4 kB / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5739, allocations: 0 / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.5739, allocations: 7.984 kB / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.5763, allocations: 0.8637 MB / 0.6061 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5764, allocations: 0 / 0.6061 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.5767, allocations: 91.86 kB / 0.6062 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.259e-05/0.5767, allocations: 3.953 kB / 0.6062 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.5768, allocations: 16.05 kB / 0.6062 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5768, allocations: 0 / 0.6062 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5768, allocations: 7.984 kB / 0.6063 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.578, allocations: 0.4911 MB / 0.6067 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.5781, allocations: 89 kB / 0.6068 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.5781, allocations: 0 / 0.6068 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.5783, allocations: 39.97 kB / 0.6069 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.5784, allocations: 11.98 kB / 0.6069 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.5784, allocations: 19.98 kB / 0.6069 GB, free: 11.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.689e-05/0.5784, allocations: 75.28 kB / 0.607 GB, free: 11.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5785, allocations: 0 / 0.607 GB, free: 11.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001768/0.5802, allocations: 0.6168 MB / 0.6076 GB, free: 10.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.004816/0.5851, allocations: 1.393 MB / 0.6089 GB, free: 9.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008157/0.5859, allocations: 307.6 kB / 0.6092 GB, free: 8.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.5859, allocations: 4 kB / 0.6092 GB, free: 8.727 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.5863, allocations: 156.8 kB / 0.6094 GB, free: 8.574 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.5865, allocations: 7.953 kB / 0.6094 GB, free: 8.566 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.5885, allocations: 0.5361 MB / 0.6099 GB, free: 7.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.5888, allocations: 0.6978 MB / 0.6106 GB, free: 7.258 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00032/0.5891, allocations: 81.08 kB / 0.6107 GB, free: 7.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.5893, allocations: 55.39 kB / 0.6107 GB, free: 7.125 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5893, allocations: 0 / 0.6107 GB, free: 7.125 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/0.6375, allocations: 18.12 MB / 0.6284 GB, free: 5.258 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.6377, allocations: 195.6 kB / 0.6286 GB, free: 5.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.353, allocations: 0 / 0.6286 GB, free: 5.02 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat