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.001561/0.001561, allocations: 181.1 kB / 17.02 MB, free: 5.125 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.42/1.42, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008811/0.0008812, allocations: 91.81 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004005, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2537, allocations: 47.57 MB / 375.9 MB, free: 45.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09075/0.3445, allocations: 75.28 MB / 451.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.3447, allocations: 67.97 kB / 451.3 MB, free: 5.207 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01033/0.3551, allocations: 3.577 MB / 454.8 MB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3551, allocations: 0 / 454.8 MB, free: 1.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3551, allocations: 0 / 454.8 MB, free: 1.625 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.0003817/0.3555, allocations: 381.5 kB / 455.2 MB, free: 1.207 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.3556, allocations: 8.031 kB / 455.2 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.3556, allocations: 34.56 kB / 455.2 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.3557, allocations: 3.906 kB / 455.2 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3558, allocations: 179 kB / 455.4 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3558, allocations: 3.953 kB / 455.4 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3559, allocations: 4 kB / 455.4 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.767e-05/0.3559, allocations: 33.69 kB / 455.5 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.356, allocations: 0 / 455.5 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.356, allocations: 0 / 455.5 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.356, allocations: 0 / 455.5 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.356, allocations: 11.94 kB / 455.5 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.3562, allocations: 161.7 kB / 455.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.434e-05/0.3563, allocations: 30.61 kB / 455.7 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.3563, allocations: 3.953 kB / 455.7 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.3563, allocations: 34.56 kB / 455.7 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3564, allocations: 0 / 455.7 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001363/0.3565, allocations: 49.72 kB / 455.8 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3565, allocations: 55.41 kB / 455.8 MB, free: 476 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.3566, allocations: 101.2 kB / 455.9 MB, free: 368 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.3566, allocations: 25.7 kB / 455.9 MB, free: 336 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.3567, allocations: 84.14 kB / 456 MB, free: 248 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.3567, allocations: 11.81 kB / 456 MB, free: 236 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.3567, allocations: 0 / 456 MB, free: 236 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3569, allocations: 310.8 kB / 456.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.3569, allocations: 11.98 kB / 456.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.3569, allocations: 25.72 kB / 456.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.245e-05/0.357, allocations: 4 kB / 456.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.357, allocations: 0 / 456.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.059e-05/0.3571, allocations: 57.62 kB / 456.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3571, allocations: 11.95 kB / 456.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3571, allocations: 0 / 456.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3571, allocations: 3.938 kB / 456.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/0.3572, allocations: 11.98 kB / 456.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.3572, allocations: 0 / 456.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.3572, allocations: 11.88 kB / 456.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.3573, allocations: 7.938 kB / 456.5 MB, free: 15.76 MB / 346.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 () * 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 7.528e-05/0.3573, allocations: 109.8 kB / 456.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.3573, allocations: 0 / 456.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.3574, allocations: 11.45 kB / 456.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.3574, allocations: 0 / 456.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3574, allocations: 0 / 456.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3574, allocations: 0 / 456.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.3575, allocations: 153.7 kB / 456.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3575, allocations: 4 kB / 456.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.476e-05/0.3576, allocations: 16.11 kB / 456.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3576, allocations: 0 / 456.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3576, allocations: 0 / 456.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3576, allocations: 3.953 kB / 456.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3576, allocations: 0 / 456.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3578, allocations: 81.09 kB / 456.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.3578, allocations: 84.95 kB / 456.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.3579, allocations: 3.984 kB / 456.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.715e-05/0.3579, allocations: 4.062 kB / 456.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.3579, allocations: 7.953 kB / 456.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3579, allocations: 0 / 456.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.825e-05/0.358, allocations: 83.28 kB / 457 MB, free: 15.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.358, allocations: 0 / 457 MB, free: 15.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.3582, allocations: 75.86 kB / 457.1 MB, free: 15.04 MB / 346.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 () * Number of clocked 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.0005316/0.3588, allocations: 0.6749 MB / 457.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.703e-05/0.3589, allocations: 24.39 kB / 457.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3589, allocations: 0 / 457.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.331e-05/0.3589, allocations: 4 kB / 457.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001002/0.359, allocations: 14.08 kB / 457.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.3597, allocations: 0.5748 MB / 458.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.3599, allocations: 0.6848 MB / 459.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.884e-05/0.36, allocations: 4 kB / 459.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.36, allocations: 7.438 kB / 459.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of SimCode: time 2.01e-07/0.36, allocations: 4 kB / 459.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.3734, allocations: 1.742 MB / 460.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/0.3737, allocations: 194.1 kB / 461 MB, free: 10.99 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/1.847, allocations: 4 kB / 461 MB, free: 10.99 MB / 346.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