Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009118/0.0009118, allocations: 89 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.172/0.172, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.666e-05, allocations: 8 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08637, allocations: 63.24 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3244/0.4108, allocations: 86.01 MB / 0.5954 GB, free: 7.816 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/0.411, allocations: 66.22 kB / 0.5955 GB, free: 7.781 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001518/0.4125, allocations: 0.6214 MB / 0.5961 GB, free: 7.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4126, allocations: 0 / 0.5961 GB, free: 7.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.4126, 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002185/0.4128, allocations: 311.9 kB / 0.5964 GB, free: 6.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4128, allocations: 15.97 kB / 0.5964 GB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.4129, allocations: 34.55 kB / 0.5965 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.933e-05/0.4129, allocations: 0 / 0.5965 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.911e-05/0.413, allocations: 171 kB / 0.5966 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.413, allocations: 4 kB / 0.5966 GB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.4131, allocations: 0 / 0.5966 GB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.187e-05/0.4131, allocations: 36.81 kB / 0.5967 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4131, allocations: 0 / 0.5967 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.4132, allocations: 0 / 0.5967 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.4132, allocations: 0 / 0.5967 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.503e-05/0.4132, allocations: 11.94 kB / 0.5967 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.4133, allocations: 158.4 kB / 0.5968 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.4135, allocations: 41.33 kB / 0.5969 GB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.4135, allocations: 12.55 kB / 0.5969 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.4138, allocations: 121.2 kB / 0.597 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.4138, allocations: 30.56 kB / 0.597 GB, free: 6.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4139, allocations: 2.734 kB / 0.597 GB, free: 6.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009502/0.4148, allocations: 168.5 kB / 0.5972 GB, free: 5.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.4148, allocations: 51.41 kB / 0.5972 GB, free: 5.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.013e-05/0.4149, allocations: 88.56 kB / 0.5973 GB, free: 5.801 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.4149, allocations: 29.7 kB / 0.5973 GB, free: 5.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.209e-05/0.415, allocations: 80.14 kB / 0.5974 GB, free: 5.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.415, allocations: 10.88 kB / 0.5974 GB, free: 5.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.415, allocations: 7.938 kB / 0.5974 GB, free: 5.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.4151, allocations: 322.8 kB / 0.5978 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.4151, allocations: 7.312 kB / 0.5978 GB, free: 5.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.4152, allocations: 11.75 kB / 0.5978 GB, free: 5.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.4152, allocations: 7.312 kB / 0.5978 GB, free: 5.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4152, allocations: 0 / 0.5978 GB, free: 5.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.949e-05/0.4153, allocations: 57.94 kB / 0.5978 GB, free: 5.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4153, allocations: 8 kB / 0.5978 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4153, allocations: 3.938 kB / 0.5978 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.4153, allocations: 4.141 kB / 0.5978 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4155, allocations: 15.98 kB / 0.5979 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4155, allocations: 0 / 0.5979 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.784e-05/0.4156, allocations: 8.234 kB / 0.5979 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.4156, allocations: 11.98 kB / 0.5979 GB, free: 5.223 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 (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.668e-05/0.4156, allocations: 116.2 kB / 0.598 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-06/0.4157, allocations: 0 / 0.598 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.4158, allocations: 72.17 kB / 0.5981 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.4158, allocations: 0 / 0.5981 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4158, allocations: 7.938 kB / 0.5981 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4159, allocations: 0 / 0.5981 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.4164, allocations: 337.6 kB / 0.5984 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4164, allocations: 4 kB / 0.5984 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.4165, allocations: 19.8 kB / 0.5984 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.4165, allocations: 0 / 0.5984 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4165, allocations: 3.984 kB / 0.5984 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4165, allocations: 0 / 0.5984 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4165, allocations: 7.938 kB / 0.5984 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.4167, allocations: 172.4 kB / 0.5986 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.4167, allocations: 77.11 kB / 0.5987 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.4167, allocations: 0 / 0.5987 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4168, allocations: 11.98 kB / 0.5987 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.4168, allocations: 0 / 0.5987 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.4169, allocations: 7.953 kB / 0.5987 GB, free: 4.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.686e-05/0.4169, allocations: 82.72 kB / 0.5988 GB, free: 4.242 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4169, allocations: 0 / 0.5988 GB, free: 4.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.4171, allocations: 12 kB / 0.5988 GB, free: 4.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0004042/0.4175, allocations: 0.7743 MB / 0.5995 GB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.389e-05/0.4176, allocations: 35.8 kB / 0.5996 GB, free: 3.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4176, allocations: 3.938 kB / 0.5996 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.4177, allocations: 15.94 kB / 0.5996 GB, free: 3.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.4178, allocations: 3.953 kB / 0.5996 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.4182, allocations: 130.4 kB / 0.5997 GB, free: 3.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.4184, allocations: 0.677 MB / 0.6004 GB, free: 2.527 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.4185, allocations: 11.98 kB / 0.6004 GB, free: 2.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.4185, allocations: 14.62 kB / 0.6004 GB, free: 2.508 MB / 394.7 MB Notification: Performance of SimCode: time 2.044e-06/0.4186, allocations: 0 / 0.6004 GB, free: 2.508 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01039/0.4289, allocations: 1.221 MB / 0.6016 GB, free: 1.406 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.4292, allocations: 157.8 kB / 0.6017 GB, free: 1.18 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.316/1.745, allocations: 0 / 0.6017 GB, free: 1.18 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat