Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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) 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(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002337/0.002336, allocations: 196.2 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009753/0.0009753, allocations: 93.39 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.306e-05/2.298e-05, allocations: 4 kB / 343.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 51.47 MB / 395.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3772/0.4864, allocations: 76.19 MB / 471.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.4867, allocations: 65.38 kB / 471.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01426/0.5009, allocations: 3.693 MB / 475.2 MB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.501, allocations: 4 kB / 475.2 MB, free: 12.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.501, allocations: 3.938 kB / 475.2 MB, free: 12.59 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.0004214/0.5015, allocations: 377.4 kB / 475.6 MB, free: 12.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.5015, allocations: 9.391 kB / 475.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.5016, allocations: 0 / 475.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.5017, allocations: 168.2 kB / 475.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.5018, allocations: 0 / 475.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.5018, allocations: 4 kB / 475.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.904e-05/0.5019, allocations: 9.062 kB / 475.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.014e-05/0.502, allocations: 43.77 kB / 475.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.502, allocations: 0 / 475.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.502, allocations: 0 / 475.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.502, allocations: 4 kB / 475.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.5022, allocations: 132.1 kB / 475.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.165e-05/0.5023, allocations: 31.5 kB / 476 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.5023, allocations: 8.859 kB / 476 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.5023, allocations: 0 / 476 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.5024, allocations: 39.58 kB / 476 MB, free: 11.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.394e-06/0.5024, allocations: 4 kB / 476 MB, free: 11.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001526/0.5025, allocations: 44.16 kB / 476.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.5026, allocations: 51.41 kB / 476.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.436e-05/0.5027, allocations: 97.7 kB / 476.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.5027, allocations: 25.7 kB / 476.2 MB, free: 11.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.5027, allocations: 81.5 kB / 476.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.5028, allocations: 16.41 kB / 476.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.5028, allocations: 0 / 476.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.62e-05/0.5029, allocations: 320.2 kB / 476.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.5029, allocations: 7.25 kB / 476.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.503, allocations: 21.42 kB / 476.7 MB, free: 11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.063e-05/0.503, allocations: 5.547 kB / 476.7 MB, free: 11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.503, allocations: 0 / 476.7 MB, free: 11 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001085/0.5031, allocations: 52.36 kB / 476.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.5032, allocations: 4 kB / 476.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.5032, allocations: 0 / 476.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.5032, allocations: 15.5 kB / 476.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.5033, allocations: 4 kB / 476.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5033, allocations: 1.172 kB / 476.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.5034, allocations: 4 kB / 476.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.5034, allocations: 0 / 476.8 MB, free: 10.92 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 () * 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.783e-05/0.5035, allocations: 103.8 kB / 476.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.689e-05/0.5035, allocations: 48.64 kB / 476.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.5036, allocations: 4.797 kB / 476.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.5036, allocations: 11.81 kB / 476.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5036, allocations: 4 kB / 476.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5036, allocations: 0 / 476.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5037, allocations: 1.641 kB / 476.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.5038, allocations: 136.8 kB / 477.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5038, allocations: 0 / 477.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.53e-05/0.5039, allocations: 9.5 kB / 477.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.5039, allocations: 0 / 477.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5039, allocations: 3.984 kB / 477.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.5039, allocations: 3.953 kB / 477.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.504, allocations: 1.453 kB / 477.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.5041, allocations: 80.14 kB / 477.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.5042, allocations: 81.02 kB / 477.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.5042, allocations: 11.91 kB / 477.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.411e-05/0.5042, allocations: 0 / 477.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.5043, allocations: 5.312 kB / 477.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.5043, allocations: 2.938 kB / 477.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.446e-05/0.5043, allocations: 79.28 kB / 477.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5043, allocations: 0 / 477.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005214/0.5049, allocations: 78.61 kB / 477.4 MB, free: 10.23 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 () * 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.0006253/0.5055, allocations: 0.677 MB / 478.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.742e-05/0.5056, allocations: 20.3 kB / 478.1 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5056, allocations: 0 / 478.1 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.768e-05/0.5057, allocations: 7.5 kB / 478.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.5058, allocations: 12.08 kB / 478.1 MB, free: 9.508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/0.5064, allocations: 156.7 kB / 478.3 MB, free: 9.336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.5065, allocations: 0.6781 MB / 479 MB, free: 8.637 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.5066, allocations: 5.219 kB / 479 MB, free: 8.633 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.5066, allocations: 12.98 kB / 479 MB, free: 8.621 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5066, allocations: 0 / 479 MB, free: 8.621 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.5322, allocations: 1.507 MB / 480.5 MB, free: 7.777 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/0.5326, allocations: 147.4 kB / 480.6 MB, free: 7.582 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.068, allocations: 0 / 480.6 MB, free: 7.582 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat does not exist to compare? outputFormat=mat