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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.5 MB / 230.3 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009676/0.0009677, allocations: 85.73 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.187e-05, allocations: 4 kB / 337.1 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 50.43 MB / 387.6 MB, free: 7.449 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3392/0.4486, allocations: 75.37 MB / 462.9 MB, free: 3.305 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.4489, allocations: 71.95 kB / 463 MB, free: 3.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.4595, allocations: 3.592 MB / 466.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4595, allocations: 0 / 466.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.4595, allocations: 4 kB / 466.6 MB, free: 15.65 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.0004102/0.46, allocations: 370.2 kB / 467 MB, free: 15.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.46, allocations: 16.03 kB / 467 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.4601, allocations: 0.7812 kB / 467 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.4602, allocations: 170.9 kB / 467.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.4603, allocations: 0 / 467.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.4603, allocations: 0 / 467.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.54e-05/0.4604, allocations: 11.98 kB / 467.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.63e-05/0.4604, allocations: 29.7 kB / 467.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4604, allocations: 0 / 467.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.4605, allocations: 11.89 kB / 467.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4605, allocations: 0 / 467.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.4607, allocations: 138.2 kB / 467.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.741e-05/0.4607, allocations: 26.58 kB / 467.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.4608, allocations: 8.859 kB / 467.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.4608, allocations: 3.984 kB / 467.4 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.4608, allocations: 34.7 kB / 467.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.4608, allocations: 0 / 467.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001423/0.461, allocations: 45.69 kB / 467.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.461, allocations: 55.91 kB / 467.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.4611, allocations: 92.98 kB / 467.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.4611, allocations: 29.64 kB / 467.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.4612, allocations: 88.14 kB / 467.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.4612, allocations: 7.812 kB / 467.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.4612, allocations: 0 / 467.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4614, allocations: 322.7 kB / 468 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.4614, allocations: 8 kB / 468 MB, free: 14.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.4614, allocations: 25.7 kB / 468.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.847e-05/0.4614, allocations: 8 kB / 468.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4614, allocations: 0 / 468.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.059e-05/0.4615, allocations: 53.62 kB / 468.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4616, allocations: 4 kB / 468.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4616, allocations: 0 / 468.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.4616, allocations: 0 / 468.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.4617, allocations: 8 kB / 468.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.4617, allocations: 4.031 kB / 468.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.4617, allocations: 0 / 468.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.4617, allocations: 4 kB / 468.1 MB, free: 13.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 () * 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 5.985e-05/0.4618, allocations: 108.9 kB / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.539e-05/0.4618, allocations: 49.55 kB / 468.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.4619, allocations: 0 / 468.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.4619, allocations: 8.109 kB / 468.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4619, allocations: 0 / 468.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4619, allocations: 4 kB / 468.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4619, allocations: 7.953 kB / 468.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.735e-05/0.462, allocations: 134.2 kB / 468.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.462, allocations: 0 / 468.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.4621, allocations: 4 kB / 468.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4621, allocations: 4 kB / 468.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.4621, allocations: 0 / 468.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4621, allocations: 0 / 468.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4621, allocations: 0 / 468.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.4623, allocations: 81.08 kB / 468.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.4623, allocations: 88.94 kB / 468.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.4623, allocations: 0 / 468.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.761e-05/0.4623, allocations: 0 / 468.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.4624, allocations: 8.344 kB / 468.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.4624, allocations: 3.938 kB / 468.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.609e-05/0.4624, allocations: 83.27 kB / 468.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4624, allocations: 0 / 468.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003097/0.4627, allocations: 75.86 kB / 468.8 MB, free: 13.16 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.0005263/0.4633, allocations: 0.6788 MB / 469.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.569e-05/0.4634, allocations: 19.94 kB / 469.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4634, allocations: 0 / 469.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.4634, allocations: 8 kB / 469.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.4635, allocations: 6.922 kB / 469.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.4639, allocations: 161.7 kB / 469.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.4642, allocations: 0.6807 MB / 470.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.361e-05/0.4642, allocations: 7.984 kB / 470.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.4642, allocations: 7.438 kB / 470.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4643, allocations: 0 / 470.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.4877, allocations: 1.442 MB / 471.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003646/0.4881, allocations: 144.1 kB / 471.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.022, allocations: 4 kB / 471.9 MB, free: 9.863 MB / 346.7 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