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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008984, allocations: 95.58 kB / 16.3 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009622/0.0009626, allocations: 181 kB / 17.19 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004059, allocations: 6.281 kB / 300.8 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1179, allocations: 50.42 MB / 351.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0005972/0.1185, allocations: 261.9 kB / 351.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1201, allocations: 1.415 MB / 352.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.1202, allocations: 0 / 352.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.1202, allocations: 0 / 352.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004884/0.1207, allocations: 123.7 kB / 353 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.871e-05/0.1207, allocations: 3.984 kB / 353 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.343e-05/0.1208, allocations: 11.98 kB / 353 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.1208, allocations: 0 / 353 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.216e-05/0.1209, allocations: 7.938 kB / 353 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/0.1209, allocations: 7.984 kB / 353 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.121, allocations: 0 / 353 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.1213, allocations: 223.6 kB / 353.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.1213, allocations: 3.984 kB / 353.3 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.1213, allocations: 29.7 kB / 353.3 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1215, allocations: 112.1 kB / 353.4 MB, free: 9.441 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1215, allocations: 0 / 353.4 MB, free: 9.441 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1215, allocations: 3.984 kB / 353.4 MB, free: 9.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.1215, allocations: 0 / 353.4 MB, free: 9.438 MB / 286.1 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.0003745/0.1219, allocations: 363.2 kB / 353.8 MB, free: 9.035 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.122, allocations: 11.97 kB / 353.8 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.122, allocations: 30.56 kB / 353.8 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.991e-05/0.122, allocations: 3.953 kB / 353.8 MB, free: 8.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1221, allocations: 171.1 kB / 354 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1222, allocations: 0 / 354 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.1222, allocations: 4 kB / 354 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.989e-05/0.1223, allocations: 37.69 kB / 354 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1223, allocations: 0 / 354 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1223, allocations: 0 / 354 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1223, allocations: 3.953 kB / 354 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.971e-05/0.1223, allocations: 7.938 kB / 354 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.1225, allocations: 161.6 kB / 354.2 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.1226, allocations: 38.61 kB / 354.2 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.1226, allocations: 0 / 354.2 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.1226, allocations: 34.56 kB / 354.3 MB, free: 8.418 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1226, allocations: 0 / 354.3 MB, free: 8.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001399/0.1228, allocations: 53.62 kB / 354.3 MB, free: 8.359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1228, allocations: 51.41 kB / 354.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.1229, allocations: 106.1 kB / 354.5 MB, free: 8.184 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1229, allocations: 29.7 kB / 354.5 MB, free: 8.148 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.123, allocations: 84.14 kB / 354.6 MB, free: 8.062 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.123, allocations: 15.83 kB / 354.6 MB, free: 8.047 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/0.123, allocations: 0 / 354.6 MB, free: 8.047 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.1231, allocations: 310.8 kB / 354.9 MB, free: 7.734 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.1231, allocations: 11.98 kB / 354.9 MB, free: 7.723 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.1232, allocations: 17.72 kB / 354.9 MB, free: 7.699 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/0.1232, allocations: 12 kB / 354.9 MB, free: 7.688 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1232, allocations: 0 / 354.9 MB, free: 7.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.955e-05/0.1233, allocations: 65.56 kB / 355 MB, free: 7.617 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1233, allocations: 8 kB / 355 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1233, allocations: 0 / 355 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1233, allocations: 0 / 355 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.603e-05/0.1234, allocations: 11.98 kB / 355 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1234, allocations: 0 / 355 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.1234, allocations: 0 / 355 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.1234, allocations: 7.953 kB / 355 MB, free: 7.59 MB / 286.1 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 6.619e-05/0.1235, allocations: 117.8 kB / 355.1 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.1235, allocations: 0 / 355.1 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.1236, allocations: 7.5 kB / 355.1 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1236, allocations: 0 / 355.1 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1236, allocations: 128 / 355.1 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1236, allocations: 7.938 kB / 355.2 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.18e-05/0.1237, allocations: 157.6 kB / 355.3 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1237, allocations: 0 / 355.3 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/0.1238, allocations: 11.98 kB / 355.3 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1238, allocations: 0 / 355.3 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1238, allocations: 7.938 kB / 355.3 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1238, allocations: 0 / 355.3 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1238, allocations: 0 / 355.3 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.1239, allocations: 85.02 kB / 355.4 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.1239, allocations: 77.11 kB / 355.5 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.124, allocations: 0 / 355.5 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.124, allocations: 3.984 kB / 355.5 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.124, allocations: 8 kB / 355.5 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.124, allocations: 4 kB / 355.5 MB, free: 7.008 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.542e-05/0.1241, allocations: 83.28 kB / 355.6 MB, free: 6.926 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1241, allocations: 0 / 355.6 MB, free: 6.926 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1243, allocations: 51.98 kB / 355.6 MB, free: 6.875 MB / 286.1 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.0004418/0.1248, allocations: 0.6594 MB / 356.3 MB, free: 6.184 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.1249, allocations: 19.94 kB / 356.3 MB, free: 6.164 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1249, allocations: 0 / 356.3 MB, free: 6.164 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.1249, allocations: 15.98 kB / 356.3 MB, free: 6.148 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.125, allocations: 0 / 356.3 MB, free: 6.148 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/0.1256, allocations: 0.563 MB / 356.9 MB, free: 5.531 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.1259, allocations: 0.6848 MB / 357.6 MB, free: 4.82 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.1259, allocations: 7.984 kB / 357.6 MB, free: 4.812 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.126, allocations: 11.44 kB / 357.6 MB, free: 4.801 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.126, allocations: 0 / 357.6 MB, free: 4.801 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.1381, allocations: 1.792 MB / 359.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.1383, allocations: 184.2 kB / 359.6 MB, free: 2.887 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/1.883, allocations: 4 kB / 359.6 MB, free: 2.883 MB / 286.1 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