Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_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.001162/0.001162, allocations: 177.9 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 82.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.935e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 47.59 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.5323, allocations: 74.78 MB / 437.9 MB, free: 4.586 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5327, allocations: 70.45 kB / 438 MB, free: 4.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01086/0.5435, allocations: 3.538 MB / 441.6 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5436, allocations: 0 / 441.6 MB, free: 1.547 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.5436, allocations: 4 kB / 441.6 MB, free: 1.543 MB / 314.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.0004097/0.544, allocations: 372.1 kB / 441.9 MB, free: 1.141 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.5441, allocations: 12.03 kB / 441.9 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.5441, allocations: 0.7812 kB / 441.9 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.5443, allocations: 174.9 kB / 442.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.5443, allocations: 0.75 kB / 442.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.5443, allocations: 7.938 kB / 442.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.038e-05/0.5444, allocations: 7.938 kB / 442.1 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.277e-05/0.5445, allocations: 29.7 kB / 442.1 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.5445, allocations: 0 / 442.1 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.5445, allocations: 7.984 kB / 442.2 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.5445, allocations: 0 / 442.2 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.5447, allocations: 133.8 kB / 442.3 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.521e-05/0.5448, allocations: 37.73 kB / 442.3 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.5448, allocations: 16.47 kB / 442.3 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.5448, allocations: 0 / 442.3 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.5448, allocations: 38.52 kB / 442.4 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.5449, allocations: 3.938 kB / 442.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001659/0.545, allocations: 37.78 kB / 442.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.5451, allocations: 55.03 kB / 442.5 MB, free: 496 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.5452, allocations: 93 kB / 442.6 MB, free: 396 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.5452, allocations: 25.7 kB / 442.6 MB, free: 364 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.5453, allocations: 87.52 kB / 442.7 MB, free: 276 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.5453, allocations: 7.812 kB / 442.7 MB, free: 268 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.5453, allocations: 0 / 442.7 MB, free: 268 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5455, allocations: 318.5 kB / 443 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.5455, allocations: 4 kB / 443 MB, free: 15.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.446e-05/0.5455, allocations: 17.03 kB / 443 MB, free: 15.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.07e-05/0.5455, allocations: 15.94 kB / 443 MB, free: 15.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5456, allocations: 0 / 443 MB, free: 15.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.571e-05/0.5456, allocations: 45.62 kB / 443.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.5457, allocations: 8 kB / 443.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5457, allocations: 3.938 kB / 443.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5457, allocations: 3.953 kB / 443.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.5458, allocations: 15.73 kB / 443.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.5458, allocations: 3.984 kB / 443.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.5458, allocations: 0 / 443.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.5458, allocations: 8.031 kB / 443.1 MB, free: 15.82 MB / 330.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 8.018e-05/0.5459, allocations: 104.9 kB / 443.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.475e-05/0.546, allocations: 45.59 kB / 443.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.546, allocations: 3.953 kB / 443.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.546, allocations: 7.75 kB / 443.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.546, allocations: 0 / 443.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.5461, allocations: 6.625 kB / 443.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5461, allocations: 0 / 443.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.5462, allocations: 130.2 kB / 443.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5462, allocations: 4 kB / 443.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.5462, allocations: 7.125 kB / 443.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5463, allocations: 0 / 443.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.5463, allocations: 4 kB / 443.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.5463, allocations: 7.938 kB / 443.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5463, allocations: 0 / 443.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.5464, allocations: 72.75 kB / 443.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.5465, allocations: 81.02 kB / 443.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.5465, allocations: 4.438 kB / 443.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.848e-05/0.5465, allocations: 3.938 kB / 443.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.5466, allocations: 7.984 kB / 443.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.5466, allocations: 3.938 kB / 443.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.221e-05/0.5466, allocations: 87.25 kB / 443.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5466, allocations: 0 / 443.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.5469, allocations: 67.88 kB / 443.8 MB, free: 15.11 MB / 330.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.0005695/0.5475, allocations: 0.6766 MB / 444.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.427e-05/0.5476, allocations: 15.31 kB / 444.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5476, allocations: 0 / 444.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.5476, allocations: 7.938 kB / 444.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.5477, allocations: 7.938 kB / 444.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.5481, allocations: 161.3 kB / 444.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.5485, allocations: 0.6886 MB / 445.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.901e-05/0.5485, allocations: 4 kB / 445.3 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.5485, allocations: 10.5 kB / 445.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5486, allocations: 0 / 445.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.5693, allocations: 1.438 MB / 446.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000334/0.5698, allocations: 141.8 kB / 446.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.131, allocations: 3.938 kB / 446.9 MB, free: 11.83 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat