Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, 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.187/1.187, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008592/0.000859, allocations: 92.45 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1642/0.1642, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.485e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08843/0.08847, allocations: 63.24 MB / 0.5114 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3171/0.4056, allocations: 86.44 MB / 0.5959 GB, free: 7.363 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001601/0.4058, allocations: 69.52 kB / 0.5959 GB, free: 7.324 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004704/0.4105, allocations: 1.77 MB / 0.5977 GB, free: 5.805 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4105, allocations: 4 kB / 0.5977 GB, free: 5.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.4105, allocations: 4 kB / 0.5977 GB, free: 5.797 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000295/0.4108, allocations: 360.3 kB / 0.598 GB, free: 5.406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.4109, allocations: 15.97 kB / 0.598 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.4109, allocations: 37.3 kB / 0.5981 GB, free: 5.348 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.411, allocations: 12.48 kB / 0.5981 GB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.4111, allocations: 163.5 kB / 0.5982 GB, free: 5.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4111, allocations: 5 kB / 0.5982 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.4111, allocations: 5.562 kB / 0.5982 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.4112, allocations: 57.12 kB / 0.5983 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4113, allocations: 0 / 0.5983 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.4113, allocations: 1.5 kB / 0.5983 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4113, allocations: 0 / 0.5983 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.4114, allocations: 36.62 kB / 0.5983 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.4116, allocations: 169.7 kB / 0.5985 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.4117, allocations: 54 kB / 0.5985 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.4118, allocations: 27.48 kB / 0.5986 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.412, allocations: 113.8 kB / 0.5987 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.4121, allocations: 36.09 kB / 0.5987 GB, free: 4.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.4121, allocations: 3.938 kB / 0.5987 GB, free: 4.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.03536/0.4474, allocations: 2.055 MB / 0.6007 GB, free: 2.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.4475, allocations: 55.41 kB / 0.6008 GB, free: 2.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.4476, allocations: 92.19 kB / 0.6009 GB, free: 2.527 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.4477, allocations: 33.7 kB / 0.6009 GB, free: 2.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.4477, allocations: 83.58 kB / 0.601 GB, free: 2.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.4478, allocations: 57.8 kB / 0.601 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.4478, allocations: 3.5 kB / 0.601 GB, free: 2.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.448, allocations: 321.8 kB / 0.6013 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.4482, allocations: 143.8 kB / 0.6015 GB, free: 1.957 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.4484, allocations: 141.3 kB / 0.6016 GB, free: 1.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.4487, allocations: 162 kB / 0.6018 GB, free: 1.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4487, allocations: 3.938 kB / 0.6018 GB, free: 1.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00066/0.4494, allocations: 395.2 kB / 0.6021 GB, free: 1.512 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4494, allocations: 8 kB / 0.6022 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4494, allocations: 0 / 0.6022 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4494, allocations: 0 / 0.6022 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.4498, allocations: 79.44 kB / 0.6022 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4498, allocations: 3.953 kB / 0.6022 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.4501, allocations: 31.91 kB / 0.6023 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.4501, allocations: 19.05 kB / 0.6023 GB, free: 1.379 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 (19): * Single equations (assignments): 19 * 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 9.617e-05/0.4502, allocations: 110 kB / 0.6024 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.4502, allocations: 10.72 kB / 0.6024 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009387/0.4512, allocations: 483.4 kB / 0.6029 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4512, allocations: 3.938 kB / 0.6029 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4512, allocations: 4 kB / 0.6029 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4512, allocations: 3.984 kB / 0.6029 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.4529, allocations: 0.8588 MB / 0.6037 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.453, allocations: 0 / 0.6037 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.4533, allocations: 80.06 kB / 0.6038 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4533, allocations: 4 kB / 0.6038 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.4533, allocations: 15.38 kB / 0.6038 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.4533, allocations: 7.984 kB / 0.6038 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4533, allocations: 0 / 0.6038 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.454, allocations: 464.9 kB / 0.6043 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.454, allocations: 88.97 kB / 0.6043 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.4541, allocations: 7.312 kB / 0.6043 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.4543, allocations: 31.22 kB / 0.6044 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.4543, allocations: 13.97 kB / 0.6044 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.4544, allocations: 20.75 kB / 0.6044 GB, free: 15.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.884e-05/0.4544, allocations: 85.89 kB / 0.6045 GB, free: 15.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4544, allocations: 0 / 0.6045 GB, free: 15.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008705/0.4553, allocations: 342.4 kB / 0.6048 GB, free: 14.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002085/0.4574, allocations: 1.569 MB / 0.6064 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004618/0.4579, allocations: 268.5 kB / 0.6066 GB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.4579, allocations: 4.281 kB / 0.6066 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.4581, allocations: 116.6 kB / 0.6067 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.4582, allocations: 10.06 kB / 0.6067 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.4597, allocations: 496 kB / 0.6072 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.46, allocations: 0.7007 MB / 0.6079 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003581/0.4603, allocations: 93.08 kB / 0.608 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.4605, allocations: 61.77 kB / 0.608 GB, free: 11.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4605, allocations: 0 / 0.608 GB, free: 11.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.4811, allocations: 8.6 MB / 0.6164 GB, free: 3.273 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.4813, allocations: 171.4 kB / 0.6166 GB, free: 3.047 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.425/1.906, allocations: 0 / 0.6166 GB, free: 3.047 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat