Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008414/0.0008413, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.236e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.09962, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2807/0.3804, allocations: 75.18 MB / 445.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.3806, allocations: 74.53 kB / 445.4 MB, free: 2.023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0101/0.3908, allocations: 3.544 MB / 448.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3908, allocations: 3.938 kB / 448.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3908, allocations: 0 / 448.9 MB, free: 14.97 MB / 330.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.0003407/0.3912, allocations: 373.5 kB / 449.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3912, allocations: 16.03 kB / 449.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.3913, allocations: 34.12 kB / 449.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.3913, allocations: 4.766 kB / 449.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3914, allocations: 175 kB / 449.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3915, allocations: 3.953 kB / 449.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.3915, allocations: 0 / 449.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.675e-05/0.3916, allocations: 37.44 kB / 449.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.3916, allocations: 4 kB / 449.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3916, allocations: 0 / 449.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3916, allocations: 3.312 kB / 449.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.3917, allocations: 11.94 kB / 449.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.3919, allocations: 159.5 kB / 449.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.955e-05/0.3919, allocations: 29.89 kB / 449.7 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.392, allocations: 12.81 kB / 449.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.392, allocations: 4 kB / 449.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.392, allocations: 37.69 kB / 449.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.392, allocations: 4 kB / 449.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001173/0.3921, allocations: 37.64 kB / 449.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3922, allocations: 58.78 kB / 449.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.3923, allocations: 92.98 kB / 450 MB, free: 13.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.3923, allocations: 25.7 kB / 450 MB, free: 13.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.3923, allocations: 83.52 kB / 450.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.3924, allocations: 11.81 kB / 450.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.3924, allocations: 3.312 kB / 450.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3925, allocations: 314.8 kB / 450.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.3925, allocations: 11.38 kB / 450.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.836e-05/0.3926, allocations: 20.97 kB / 450.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.242e-05/0.3926, allocations: 7.938 kB / 450.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3926, allocations: 3.938 kB / 450.5 MB, free: 13.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.13e-05/0.3927, allocations: 56.53 kB / 450.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3927, allocations: 11.95 kB / 450.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3927, allocations: 0 / 450.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3927, allocations: 4.031 kB / 450.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/0.3928, allocations: 8 kB / 450.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3928, allocations: 7.969 kB / 450.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.3928, allocations: 0 / 450.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3929, allocations: 7.984 kB / 450.6 MB, free: 13.15 MB / 330.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 6.832e-05/0.3929, allocations: 104.9 kB / 450.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.3929, allocations: 7.219 kB / 450.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.393, allocations: 11.45 kB / 450.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.393, allocations: 0 / 450.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.393, allocations: 4 kB / 450.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.393, allocations: 0 / 450.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.3931, allocations: 153 kB / 450.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3931, allocations: 0 / 450.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.3932, allocations: 8 kB / 450.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3932, allocations: 0 / 450.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3932, allocations: 3.984 kB / 450.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3932, allocations: 3.953 kB / 450.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3932, allocations: 0 / 450.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.3934, allocations: 80.44 kB / 450.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.3934, allocations: 77.11 kB / 451 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3934, allocations: 3.062 kB / 451 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.3935, allocations: 3.938 kB / 451 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.3935, allocations: 7.984 kB / 451 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3935, allocations: 3.984 kB / 451 MB, free: 12.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.574e-05/0.3935, allocations: 82.28 kB / 451.1 MB, free: 12.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3935, allocations: 0 / 451.1 MB, free: 12.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002754/0.3938, allocations: 67.88 kB / 451.2 MB, free: 12.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005363/0.3944, allocations: 0.6831 MB / 451.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.3944, allocations: 30.98 kB / 451.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3945, allocations: 0 / 451.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.3945, allocations: 7.25 kB / 451.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.18e-05/0.3946, allocations: 3.953 kB / 451.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.3949, allocations: 170 kB / 452.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3952, allocations: 0.6809 MB / 452.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.9e-05/0.3952, allocations: 7.938 kB / 452.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.3953, allocations: 7.438 kB / 452.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3953, allocations: 0 / 452.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.407, allocations: 1.748 MB / 454.5 MB, free: 9.07 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.4072, allocations: 153.6 kB / 454.6 MB, free: 8.848 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.453/1.86, allocations: 4.062 kB / 454.7 MB, free: 8.844 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat