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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.0009914/0.0009914, allocations: 196.2 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008414/0.0008414, allocations: 92.34 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1667/0.1667, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.664e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08546/0.0855, allocations: 63.24 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.4117, allocations: 86.07 MB / 0.5955 GB, free: 7.766 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.4119, allocations: 70.25 kB / 0.5956 GB, free: 7.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001309/0.4133, allocations: 0.5595 MB / 0.5961 GB, free: 7.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4133, allocations: 0 / 0.5961 GB, free: 7.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.4133, allocations: 0 / 0.5961 GB, free: 7.207 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002505/0.4136, allocations: 328.2 kB / 0.5964 GB, free: 6.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.4136, allocations: 11.97 kB / 0.5964 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.4137, allocations: 33.81 kB / 0.5965 GB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.4137, allocations: 8 kB / 0.5965 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.4138, allocations: 167 kB / 0.5966 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.4138, allocations: 0 / 0.5966 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.4138, allocations: 0 / 0.5966 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.414, allocations: 58.59 kB / 0.5967 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.414, allocations: 4 kB / 0.5967 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.414, allocations: 0 / 0.5967 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.414, allocations: 0 / 0.5967 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.4141, allocations: 10.62 kB / 0.5967 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.4144, allocations: 327 kB / 0.597 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.322e-05/0.4144, allocations: 25.89 kB / 0.5971 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.4145, allocations: 17.17 kB / 0.5971 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.4145, allocations: 4.125 kB / 0.5971 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.4145, allocations: 37.3 kB / 0.5971 GB, free: 6.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4145, allocations: 0 / 0.5971 GB, free: 6.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001374/0.4147, allocations: 53.28 kB / 0.5972 GB, free: 5.996 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.4147, allocations: 55.39 kB / 0.5972 GB, free: 5.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.668e-05/0.4148, allocations: 92.5 kB / 0.5973 GB, free: 5.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.4148, allocations: 25.7 kB / 0.5973 GB, free: 5.805 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.4149, allocations: 84.12 kB / 0.5974 GB, free: 5.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.4149, allocations: 15.06 kB / 0.5974 GB, free: 5.707 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.4149, allocations: 8.062 kB / 0.5974 GB, free: 5.699 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.415, allocations: 314.8 kB / 0.5977 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.415, allocations: 7.562 kB / 0.5977 GB, free: 5.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.468e-05/0.4151, allocations: 25.02 kB / 0.5978 GB, free: 5.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.4151, allocations: 4 kB / 0.5978 GB, free: 5.348 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4151, allocations: 0 / 0.5978 GB, free: 5.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.897e-05/0.4152, allocations: 53 kB / 0.5978 GB, free: 5.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4152, allocations: 12.03 kB / 0.5978 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4152, allocations: 0 / 0.5978 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.4152, allocations: 0 / 0.5978 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.4153, allocations: 15.81 kB / 0.5978 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4153, allocations: 3.984 kB / 0.5978 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.4154, allocations: 3.938 kB / 0.5978 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.4154, allocations: 4 kB / 0.5978 GB, free: 5.258 MB / 394.7 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 () * 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 5.426e-05/0.4154, allocations: 106.3 kB / 0.5979 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.4155, allocations: 3.906 kB / 0.598 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.4156, allocations: 67.38 kB / 0.598 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4156, allocations: 3.938 kB / 0.598 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4156, allocations: 4 kB / 0.598 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4156, allocations: 0 / 0.598 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.4158, allocations: 157.3 kB / 0.5982 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4158, allocations: 0 / 0.5982 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.4158, allocations: 11.98 kB / 0.5982 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4158, allocations: 0 / 0.5982 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4159, allocations: 3.562 kB / 0.5982 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4159, allocations: 0 / 0.5982 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4159, allocations: 0 / 0.5982 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.416, allocations: 157.9 kB / 0.5983 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.416, allocations: 77.11 kB / 0.5984 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.416, allocations: 3.438 kB / 0.5984 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.4161, allocations: 0 / 0.5984 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.4161, allocations: 4 kB / 0.5984 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.4161, allocations: 0 / 0.5984 GB, free: 4.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.215e-05/0.4162, allocations: 87.27 kB / 0.5985 GB, free: 4.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4162, allocations: 0 / 0.5985 GB, free: 4.512 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.4164, allocations: 7.125 kB / 0.5985 GB, free: 4.508 MB / 394.7 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 () * 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.0003782/0.4168, allocations: 0.6874 MB / 0.5992 GB, free: 3.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.543e-05/0.4169, allocations: 19.5 kB / 0.5992 GB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4169, allocations: 4.156 kB / 0.5992 GB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.4169, allocations: 19.38 kB / 0.5992 GB, free: 3.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.417, allocations: 2.797 kB / 0.5992 GB, free: 3.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.4174, allocations: 105.3 kB / 0.5993 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.4176, allocations: 0.6809 MB / 0.6 GB, free: 2.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.257e-05/0.4176, allocations: 11.98 kB / 0.6 GB, free: 2.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.4177, allocations: 10.75 kB / 0.6 GB, free: 2.91 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4177, allocations: 0 / 0.6 GB, free: 2.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01053/0.4282, allocations: 1.07 MB / 0.6011 GB, free: 1.988 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.4284, allocations: 157.2 kB / 0.6012 GB, free: 1.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.347/1.775, allocations: 7.938 kB / 0.6012 GB, free: 1.762 MB / 394.7 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