Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001062, allocations: 97.09 kB / 16.99 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 207.1 kB / 17.9 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2415/0.2415, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002578, allocations: 4 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 63.46 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0006537/0.126, allocations: 226.9 kB / 481.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000282/0.1263, allocations: 102.3 kB / 481.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.1263, allocations: 0 / 481.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.1263, allocations: 3.938 kB / 481.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.219e-05/0.1264, allocations: 0 / 481.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.1266, allocations: 7.984 kB / 481.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.647e-05/0.1266, allocations: 7.984 kB / 481.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.206e-05/0.1267, allocations: 4 kB / 481.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.1267, allocations: 4 kB / 481.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.1268, allocations: 11.92 kB / 481.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1268, allocations: 0 / 481.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.972e-05/0.1269, allocations: 35.91 kB / 481.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.1269, allocations: 3.984 kB / 481.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.1269, allocations: 25.7 kB / 481.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.824e-05/0.127, allocations: 19.98 kB / 482 MB, free: 4.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.127, allocations: 0 / 482 MB, free: 4.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.127, allocations: 0 / 482 MB, free: 4.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.127, allocations: 0 / 482 MB, free: 4.824 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00036/0.1274, allocations: 319.4 kB / 482.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1274, allocations: 8.031 kB / 482.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.1275, allocations: 42.56 kB / 482.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.1275, allocations: 0 / 482.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1277, allocations: 167.2 kB / 482.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1277, allocations: 0 / 482.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1277, allocations: 4 kB / 482.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1278, allocations: 51.41 kB / 482.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1279, allocations: 0 / 482.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.1279, allocations: 4 kB / 482.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1279, allocations: 0 / 482.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.1279, allocations: 19.92 kB / 482.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.1283, allocations: 328.9 kB / 482.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.589e-05/0.1283, allocations: 34.61 kB / 482.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1284, allocations: 0 / 482.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1284, allocations: 30.56 kB / 482.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.1284, allocations: 4 kB / 483 MB, free: 3.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001763/0.1286, allocations: 57.72 kB / 483 MB, free: 3.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1286, allocations: 51.41 kB / 483.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.1287, allocations: 93.86 kB / 483.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1287, allocations: 25.7 kB / 483.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.1288, allocations: 80.14 kB / 483.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.1288, allocations: 19.8 kB / 483.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.1288, allocations: 3.938 kB / 483.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.1289, allocations: 322.9 kB / 483.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.1289, allocations: 8 kB / 483.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.1289, allocations: 21.7 kB / 483.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.79e-05/0.129, allocations: 11.94 kB / 483.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.129, allocations: 0 / 483.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.174e-05/0.1291, allocations: 57.86 kB / 483.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1291, allocations: 4 kB / 483.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1291, allocations: 4.031 kB / 483.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1291, allocations: 4 kB / 483.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.1292, allocations: 8.062 kB / 483.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1292, allocations: 4 kB / 483.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.1293, allocations: 7.906 kB / 483.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1293, allocations: 3.984 kB / 483.7 MB, free: 2.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 7.457e-05/0.1293, allocations: 117.7 kB / 483.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.1294, allocations: 0 / 483.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.1295, allocations: 61.19 kB / 483.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1295, allocations: 4 kB / 483.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1295, allocations: 0 / 483.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1295, allocations: 0 / 483.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.1297, allocations: 161.6 kB / 484.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1297, allocations: 0 / 484.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.1297, allocations: 7.938 kB / 484.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1297, allocations: 0 / 484.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1297, allocations: 11.98 kB / 484.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1298, allocations: 0 / 484.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1298, allocations: 0 / 484.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.1299, allocations: 151.5 kB / 484.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.1299, allocations: 81.02 kB / 484.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.1299, allocations: 4 kB / 484.3 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.507e-05/0.13, allocations: 0 / 484.3 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.13, allocations: 4 kB / 484.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.13, allocations: 4 kB / 484.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.1301, allocations: 79.27 kB / 484.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1301, allocations: 4.094 kB / 484.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1303, allocations: 4 kB / 484.4 MB, free: 2.039 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0003718/0.1307, allocations: 0.6935 MB / 485.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.858e-05/0.1308, allocations: 19.94 kB / 485.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1308, allocations: 0 / 485.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.1308, allocations: 24.05 kB / 485.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.131, allocations: 10.45 kB / 485.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.1313, allocations: 136.4 kB / 485.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.1316, allocations: 0.677 MB / 486 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.571e-05/0.1316, allocations: 11.98 kB / 486 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.1316, allocations: 11.44 kB / 486 MB, free: 376 kB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1316, allocations: 0 / 486 MB, free: 376 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01027/0.1419, allocations: 1.055 MB / 487 MB, free: 15.45 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.1422, allocations: 186.9 kB / 487.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/1.723, allocations: 0 / 487.2 MB, free: 15.21 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat