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.001014/0.001013, allocations: 101.6 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.3 MB / 246 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1982/0.1982, allocations: 45.93 MB / 344.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002736/0.0002737, allocations: 7.938 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1014, allocations: 63.47 MB / 481.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005315/0.102, allocations: 218.9 kB / 481.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002495/0.1022, allocations: 94.41 kB / 481.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.1023, allocations: 0 / 481.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.568e-06/0.1023, allocations: 0 / 481.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.107e-05/0.1023, allocations: 4 kB / 482 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.1025, allocations: 19.91 kB / 482 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.203e-05/0.1025, allocations: 4 kB / 482 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.1026, allocations: 3.984 kB / 482 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.1026, allocations: 11.94 kB / 482 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.1027, allocations: 3.938 kB / 482 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1027, allocations: 4 kB / 482 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-05/0.1028, allocations: 31.95 kB / 482 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.1028, allocations: 4 kB / 482 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.1028, allocations: 25.7 kB / 482.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.564e-05/0.1029, allocations: 15.98 kB / 482.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1029, allocations: 0 / 482.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1029, allocations: 0 / 482.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1029, allocations: 0 / 482.1 MB, free: 4.805 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.0003244/0.1032, allocations: 327.4 kB / 482.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1033, allocations: 8.031 kB / 482.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.1033, allocations: 30.56 kB / 482.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.1034, allocations: 4 kB / 482.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1035, allocations: 175.2 kB / 482.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1035, allocations: 8 kB / 482.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.1035, allocations: 4 kB / 482.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.1036, allocations: 51.41 kB / 482.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.1036, allocations: 0 / 482.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1036, allocations: 4 kB / 482.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1036, allocations: 0 / 482.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.204e-05/0.1037, allocations: 11.94 kB / 482.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.104, allocations: 337 kB / 483 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.73e-05/0.104, allocations: 22.58 kB / 483 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.1041, allocations: 16.86 kB / 483.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1041, allocations: 0 / 483.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1041, allocations: 34.64 kB / 483.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1041, allocations: 7.938 kB / 483.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001665/0.1043, allocations: 57.69 kB / 483.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.1043, allocations: 51.41 kB / 483.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.1044, allocations: 97.81 kB / 483.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1044, allocations: 33.64 kB / 483.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.1045, allocations: 80.14 kB / 483.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.467e-06/0.1045, allocations: 11.75 kB / 483.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.1045, allocations: 0 / 483.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.1046, allocations: 323 kB / 483.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.1046, allocations: 4 kB / 483.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.1047, allocations: 21.72 kB / 483.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.1047, allocations: 15.92 kB / 483.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1047, allocations: 0 / 483.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.324e-05/0.1048, allocations: 49.92 kB / 483.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1048, allocations: 8 kB / 483.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1048, allocations: 3.984 kB / 483.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.1048, allocations: 0 / 483.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.1049, allocations: 15.97 kB / 483.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1049, allocations: 0 / 483.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.1049, allocations: 3.906 kB / 483.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.105, allocations: 7.953 kB / 483.9 MB, free: 2.773 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 6.218e-05/0.105, allocations: 113.8 kB / 484 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.105, allocations: 0 / 484 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.1052, allocations: 65.17 kB / 484 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1052, allocations: 0 / 484 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1052, allocations: 4 kB / 484 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1052, allocations: 4 kB / 484 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.1053, allocations: 157.6 kB / 484.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1054, allocations: 0 / 484.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.1054, allocations: 11.94 kB / 484.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1054, allocations: 192 / 484.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1054, allocations: 4 kB / 484.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1054, allocations: 0 / 484.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1054, allocations: 0 / 484.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1055, allocations: 155.5 kB / 484.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.1056, allocations: 85.02 kB / 484.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.1056, allocations: 3.984 kB / 484.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.726e-05/0.1057, allocations: 0 / 484.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.1057, allocations: 4 kB / 484.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.1057, allocations: 3.938 kB / 484.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.615e-05/0.1057, allocations: 75.28 kB / 484.5 MB, free: 2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1057, allocations: 0 / 484.5 MB, free: 2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.106, allocations: 12 kB / 484.5 MB, free: 1.988 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.0003537/0.1063, allocations: 0.6896 MB / 485.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.968e-05/0.1064, allocations: 23.94 kB / 485.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1064, allocations: 0 / 485.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.783e-05/0.1065, allocations: 19.92 kB / 485.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.1067, allocations: 6.812 kB / 485.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.107, allocations: 136.4 kB / 485.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.1072, allocations: 0.677 MB / 486.1 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.299e-05/0.1073, allocations: 7.906 kB / 486.1 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.1073, allocations: 7.438 kB / 486.1 MB, free: 340 kB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1073, allocations: 4 kB / 486.1 MB, free: 336 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01004/0.1173, allocations: 1.075 MB / 487.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.1175, allocations: 197.9 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.713, allocations: 0 / 487.4 MB, free: 15.16 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