Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_cpp_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.002066/0.002067, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.299/2.299, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001163/0.001163, allocations: 99.27 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004024, allocations: 8 kB / 327.1 MB, free: 104 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3286, allocations: 47.57 MB / 374.6 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.4512, allocations: 75.28 MB / 449.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.4515, allocations: 71.91 kB / 450 MB, free: 5.398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0176/0.4691, allocations: 3.581 MB / 453.6 MB, free: 1.812 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4692, allocations: 0 / 453.6 MB, free: 1.812 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.4692, allocations: 0 / 453.6 MB, free: 1.812 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.0005234/0.4697, allocations: 383.2 kB / 453.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4698, allocations: 8.031 kB / 453.9 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.4699, allocations: 30.56 kB / 454 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.4699, allocations: 7.906 kB / 454 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.4701, allocations: 167 kB / 454.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.4701, allocations: 3.953 kB / 454.2 MB, free: 1.129 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.4701, allocations: 4 kB / 454.2 MB, free: 1.125 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.4702, allocations: 33.69 kB / 454.2 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4703, allocations: 0 / 454.2 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.4703, allocations: 4 kB / 454.2 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4703, allocations: 0 / 454.2 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/0.4703, allocations: 15.92 kB / 454.2 MB, free: 1.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.4706, allocations: 157.7 kB / 454.4 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.63e-05/0.4707, allocations: 26.58 kB / 454.4 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.4707, allocations: 3.953 kB / 454.4 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.4707, allocations: 36.69 kB / 454.4 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.4708, allocations: 4 kB / 454.4 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000166/0.4709, allocations: 49.72 kB / 454.5 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.471, allocations: 51.41 kB / 454.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.4711, allocations: 96.98 kB / 454.6 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.4711, allocations: 25.7 kB / 454.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.4712, allocations: 154.6 kB / 454.8 MB, free: 384 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.4712, allocations: 11.81 kB / 454.8 MB, free: 372 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.4713, allocations: 0 / 454.8 MB, free: 372 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4714, allocations: 318.8 kB / 455.1 MB, free: 44 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.4714, allocations: 8 kB / 455.1 MB, free: 36 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.115e-05/0.4715, allocations: 17.72 kB / 455.1 MB, free: 12 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.4715, allocations: 8 kB / 455.2 MB, free: 4 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4716, allocations: 0 / 455.2 MB, free: 4 kB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001483/0.4717, allocations: 58 kB / 455.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4717, allocations: 9.516 kB / 455.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4718, allocations: 0 / 455.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4718, allocations: 8.031 kB / 455.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.4719, allocations: 8.031 kB / 455.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4719, allocations: 7.938 kB / 455.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.472, allocations: 3.984 kB / 455.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.472, allocations: 3.938 kB / 455.3 MB, free: 15.9 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 8.99e-05/0.4721, allocations: 109.8 kB / 455.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.4721, allocations: 7.844 kB / 455.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.4722, allocations: 11.45 kB / 455.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4722, allocations: 4 kB / 455.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4722, allocations: 4 kB / 455.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4722, allocations: 0 / 455.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.4724, allocations: 157.7 kB / 455.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4724, allocations: 0 / 455.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.4725, allocations: 11.98 kB / 455.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.4725, allocations: 0 / 455.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.4725, allocations: 4.125 kB / 455.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4725, allocations: 3.953 kB / 455.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4726, allocations: 0 / 455.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.4727, allocations: 81.06 kB / 455.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.4728, allocations: 92.97 kB / 455.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.4728, allocations: 0 / 455.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.584e-05/0.4729, allocations: 0 / 455.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.4729, allocations: 3.953 kB / 455.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.4729, allocations: 4 kB / 455.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.025e-05/0.473, allocations: 83.28 kB / 455.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.473, allocations: 0 / 455.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004883/0.4735, allocations: 67.86 kB / 455.9 MB, free: 15.17 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.0007394/0.4743, allocations: 0.6827 MB / 456.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.4744, allocations: 19.92 kB / 456.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4744, allocations: 0 / 456.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.633e-05/0.4744, allocations: 8 kB / 456.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.4746, allocations: 12.02 kB / 456.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/0.4754, allocations: 0.5958 MB / 457.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.4758, allocations: 0.6887 MB / 457.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.4758, allocations: 11.44 kB / 457.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4758, allocations: 0 / 457.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.485/2.961, allocations: 1.441 MB / 459.3 MB, free: 11.61 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat