Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009514/0.0009515, allocations: 94.53 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.0002551, allocations: 11.98 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2328, allocations: 50.4 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.3345, allocations: 76.1 MB / 477.7 MB, free: 4.367 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.3347, allocations: 79.94 kB / 477.8 MB, free: 4.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01107/0.3458, allocations: 3.626 MB / 481.4 MB, free: 0.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3459, allocations: 0 / 481.4 MB, free: 0.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3459, allocations: 0 / 481.4 MB, free: 0.668 MB / 346.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.0004685/0.3464, allocations: 379.2 kB / 481.7 MB, free: 256 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3464, allocations: 8.031 kB / 481.8 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.3465, allocations: 34.56 kB / 481.8 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.3465, allocations: 3.906 kB / 481.8 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.3467, allocations: 175.1 kB / 482 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3467, allocations: 4 kB / 482 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.3467, allocations: 4 kB / 482 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.495e-05/0.3468, allocations: 33.7 kB / 482 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3468, allocations: 0 / 482 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3469, allocations: 7.938 kB / 482 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3469, allocations: 0 / 482 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.871e-05/0.3469, allocations: 4 kB / 482 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.3472, allocations: 161.6 kB / 482.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.845e-05/0.3472, allocations: 38.55 kB / 482.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.3473, allocations: 0 / 482.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3473, allocations: 38.56 kB / 482.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.003e-06/0.3473, allocations: 3.984 kB / 482.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.000143/0.3474, allocations: 45.78 kB / 482.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3475, allocations: 55.36 kB / 482.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.3476, allocations: 89 kB / 482.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.3476, allocations: 33.64 kB / 482.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.3477, allocations: 92.12 kB / 482.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.3477, allocations: 7.656 kB / 482.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.3477, allocations: 3.938 kB / 482.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3479, allocations: 314.8 kB / 482.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.3479, allocations: 4 kB / 482.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.3479, allocations: 25.7 kB / 482.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.268e-05/0.348, allocations: 8 kB / 482.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.348, allocations: 4 kB / 482.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.029e-05/0.348, allocations: 53.62 kB / 483 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3481, allocations: 8 kB / 483 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3481, allocations: 0 / 483 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3481, allocations: 128 / 483 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.3482, allocations: 12 kB / 483 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3482, allocations: 0 / 483 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/0.3482, allocations: 11.86 kB / 483 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.3482, allocations: 4 kB / 483 MB, free: 14.81 MB / 362.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 8.631e-05/0.3483, allocations: 113.9 kB / 483.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.3483, allocations: 0 / 483.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.3484, allocations: 11.5 kB / 483.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3484, allocations: 0 / 483.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3484, allocations: 0 / 483.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3484, allocations: 0 / 483.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.3486, allocations: 161.6 kB / 483.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3486, allocations: 0 / 483.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.518e-05/0.3486, allocations: 11.94 kB / 483.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3486, allocations: 0 / 483.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3487, allocations: 4 kB / 483.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3487, allocations: 3.984 kB / 483.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3487, allocations: 0 / 483.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.3488, allocations: 77.11 kB / 483.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.3489, allocations: 85.02 kB / 483.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.3489, allocations: 0 / 483.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/0.3489, allocations: 0 / 483.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.3489, allocations: 11.92 kB / 483.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3489, allocations: 4.062 kB / 483.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.392e-05/0.349, allocations: 79.75 kB / 483.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.349, allocations: 0 / 483.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000334/0.3493, allocations: 75.8 kB / 483.6 MB, free: 14.08 MB / 362.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.0006043/0.3499, allocations: 0.6827 MB / 484.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.047e-05/0.35, allocations: 20.06 kB / 484.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3501, allocations: 0 / 484.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.3501, allocations: 11.92 kB / 484.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.3502, allocations: 10.92 kB / 484.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/0.351, allocations: 0.5781 MB / 484.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3513, allocations: 0.6809 MB / 485.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.87e-05/0.3513, allocations: 7.984 kB / 485.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.3514, allocations: 19.31 kB / 485.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3514, allocations: 0 / 485.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.3654, allocations: 1.751 MB / 487.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.3656, allocations: 173.6 kB / 487.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.946, allocations: 8 kB / 487.6 MB, free: 10.11 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat does not exist to compare? outputFormat=mat