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.001226/0.001226, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001173, allocations: 96.5 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.036e-05, allocations: 8 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1196, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4083/0.5279, allocations: 76.85 MB / 479 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.5282, allocations: 70.22 kB / 479 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009842/0.538, allocations: 3.702 MB / 482.7 MB, free: 9.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5381, allocations: 0 / 482.7 MB, free: 9.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.5381, allocations: 0 / 482.7 MB, free: 9.41 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.0002672/0.5383, allocations: 377.4 kB / 483.1 MB, free: 9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5384, allocations: 8.031 kB / 483.1 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.5384, allocations: 34.56 kB / 483.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.5385, allocations: 0 / 483.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.5386, allocations: 171.7 kB / 483.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.5386, allocations: 0 / 483.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.5386, allocations: 10.92 kB / 483.3 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.554e-05/0.5387, allocations: 33.69 kB / 483.4 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5387, allocations: 0 / 483.4 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.5387, allocations: 3.062 kB / 483.4 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5388, allocations: 4 kB / 483.4 MB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.5388, allocations: 11.92 kB / 483.4 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.5389, allocations: 157.5 kB / 483.5 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.314e-05/0.539, allocations: 34.2 kB / 483.6 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.539, allocations: 16.69 kB / 483.6 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.539, allocations: 0 / 483.6 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.5391, allocations: 34.56 kB / 483.6 MB, free: 8.391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5391, allocations: 3.938 kB / 483.6 MB, free: 8.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001119/0.5392, allocations: 46.75 kB / 483.7 MB, free: 8.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.5392, allocations: 51.41 kB / 483.7 MB, free: 8.277 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.5393, allocations: 100.7 kB / 483.8 MB, free: 8.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.5393, allocations: 29.7 kB / 483.8 MB, free: 8.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.026e-05/0.5393, allocations: 80.14 kB / 483.9 MB, free: 8.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.5394, allocations: 14.84 kB / 483.9 MB, free: 8.051 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.5394, allocations: 4 kB / 483.9 MB, free: 8.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.13e-05/0.5394, allocations: 310.8 kB / 484.2 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.5394, allocations: 7.125 kB / 484.3 MB, free: 7.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.5395, allocations: 20.95 kB / 484.3 MB, free: 7.707 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.5395, allocations: 12 kB / 484.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5395, allocations: 0 / 484.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.412e-05/0.5396, allocations: 56 kB / 484.3 MB, free: 7.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5396, allocations: 7.953 kB / 484.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5396, allocations: 4.875 kB / 484.4 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5396, allocations: 0 / 484.4 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.5397, allocations: 8 kB / 484.4 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.5397, allocations: 3.516 kB / 484.4 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.5397, allocations: 0 / 484.4 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.5397, allocations: 4 kB / 484.4 MB, free: 7.617 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 3.999e-05/0.5398, allocations: 112.3 kB / 484.5 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-06/0.5398, allocations: 7.891 kB / 484.5 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.5398, allocations: 7.734 kB / 484.5 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.5398, allocations: 4.75 kB / 484.5 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5398, allocations: 0 / 484.5 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.5399, allocations: 3.984 kB / 484.5 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.772e-05/0.5399, allocations: 156.3 kB / 484.7 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.5399, allocations: 0 / 484.7 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.54, allocations: 8.75 kB / 484.7 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.54, allocations: 4 kB / 484.7 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.54, allocations: 0 / 484.7 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.54, allocations: 3.953 kB / 484.7 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.54, allocations: 0 / 484.7 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.5401, allocations: 85.39 kB / 484.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.5402, allocations: 77.11 kB / 484.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.5402, allocations: 3.938 kB / 484.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.691e-05/0.5402, allocations: 0 / 484.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.5402, allocations: 8.016 kB / 484.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.5402, allocations: 4 kB / 484.8 MB, free: 7.066 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.698e-05/0.5403, allocations: 82.72 kB / 484.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5403, allocations: 0 / 484.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.5406, allocations: 75.11 kB / 485 MB, free: 6.918 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.0004188/0.541, allocations: 0.6909 MB / 485.7 MB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.876e-05/0.5411, allocations: 19.23 kB / 485.7 MB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5411, allocations: 0 / 485.7 MB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.5411, allocations: 11.06 kB / 485.7 MB, free: 6.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.5412, allocations: 3.953 kB / 485.7 MB, free: 6.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.5416, allocations: 163.7 kB / 485.9 MB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.5418, allocations: 0.6809 MB / 486.6 MB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.609e-05/0.5418, allocations: 8.062 kB / 486.6 MB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.5419, allocations: 11.42 kB / 486.6 MB, free: 5.266 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5419, allocations: 0 / 486.6 MB, free: 5.266 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.5555, allocations: 1.799 MB / 488.4 MB, free: 3.668 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.5557, allocations: 163.9 kB / 488.5 MB, free: 3.438 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.185, allocations: 0 / 488.5 MB, free: 3.438 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