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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001044/0.001045, allocations: 97.89 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 203.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002591, allocations: 4 kB / 306.7 MB, free: 1.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1105, allocations: 51.5 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0006256/0.1112, allocations: 250.1 kB / 358.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1132, allocations: 1.472 MB / 359.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.1132, allocations: 0 / 359.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.002e-05/0.1133, allocations: 4 kB / 359.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.1137, allocations: 123.7 kB / 360 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.613e-05/0.1137, allocations: 0 / 360 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.971e-05/0.1138, allocations: 4 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.1138, allocations: 4 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.05e-05/0.1139, allocations: 15.91 kB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.1139, allocations: 4 kB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.114, allocations: 0 / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.1143, allocations: 227.6 kB / 360.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.1143, allocations: 4 kB / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.1143, allocations: 25.7 kB / 360.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.1145, allocations: 123.8 kB / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1146, allocations: 0 / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1146, allocations: 0 / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1146, allocations: 0 / 360.4 MB, free: 11.53 MB / 302.1 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.0004134/0.115, allocations: 359.5 kB / 360.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.115, allocations: 12.03 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.1151, allocations: 34.55 kB / 360.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.1151, allocations: 4 kB / 360.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.1153, allocations: 171 kB / 361 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1153, allocations: 0 / 361 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1153, allocations: 7.953 kB / 361 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.729e-05/0.1154, allocations: 33.69 kB / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1154, allocations: 0 / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.1154, allocations: 0 / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1154, allocations: 3.984 kB / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.746e-05/0.1155, allocations: 15.98 kB / 361.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.1157, allocations: 157.6 kB / 361.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.106e-05/0.1157, allocations: 34.5 kB / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.1157, allocations: 4 kB / 361.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1158, allocations: 34.52 kB / 361.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1158, allocations: 3.938 kB / 361.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001259/0.1159, allocations: 45.78 kB / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.116, allocations: 63.34 kB / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.116, allocations: 105.8 kB / 361.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1161, allocations: 25.7 kB / 361.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.1161, allocations: 84.14 kB / 361.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.1162, allocations: 3.906 kB / 361.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.1162, allocations: 0 / 361.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1163, allocations: 322.8 kB / 361.9 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.1163, allocations: 4 kB / 361.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.1164, allocations: 21.72 kB / 362 MB, free: 9.789 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.1164, allocations: 7.984 kB / 362 MB, free: 9.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1164, allocations: 0 / 362 MB, free: 9.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.882e-05/0.1165, allocations: 61.55 kB / 362 MB, free: 9.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1165, allocations: 7.984 kB / 362 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1166, allocations: 3.953 kB / 362 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1166, allocations: 0 / 362 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.1167, allocations: 8 kB / 362 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1167, allocations: 4.031 kB / 362 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.1167, allocations: 4 kB / 362 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.1167, allocations: 0 / 362 MB, free: 9.688 MB / 302.1 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 0.0001098/0.1168, allocations: 113.8 kB / 362.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.1169, allocations: 4 kB / 362.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.1169, allocations: 3.5 kB / 362.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1169, allocations: 7.938 kB / 362.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1169, allocations: 0 / 362.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1169, allocations: 0 / 362.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.117, allocations: 165.7 kB / 362.3 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1171, allocations: 3.938 kB / 362.3 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.1171, allocations: 4 kB / 362.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1171, allocations: 3.938 kB / 362.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1171, allocations: 128 / 362.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1171, allocations: 8 kB / 362.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1172, allocations: 3.953 kB / 362.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.1173, allocations: 77.45 kB / 362.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.1174, allocations: 89.19 kB / 362.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1174, allocations: 3.938 kB / 362.5 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.1174, allocations: 4.031 kB / 362.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.1174, allocations: 7.953 kB / 362.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.1174, allocations: 0 / 362.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.234e-05/0.1175, allocations: 83.27 kB / 362.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1175, allocations: 0 / 362.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1178, allocations: 56 kB / 362.7 MB, free: 8.957 MB / 302.1 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.0005217/0.1183, allocations: 0.6631 MB / 363.3 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.271e-05/0.1184, allocations: 23.92 kB / 363.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1184, allocations: 0 / 363.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.341e-05/0.1184, allocations: 8 kB / 363.4 MB, free: 8.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.43e-05/0.1185, allocations: 0 / 363.4 MB, free: 8.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.1192, allocations: 0.5628 MB / 363.9 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1196, allocations: 0.6809 MB / 364.6 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.1196, allocations: 4 kB / 364.6 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.1197, allocations: 11.44 kB / 364.6 MB, free: 6.891 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1197, allocations: 3.938 kB / 364.6 MB, free: 6.887 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.1311, allocations: 1.862 MB / 366.5 MB, free: 5.152 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.1313, allocations: 184.2 kB / 366.7 MB, free: 4.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/1.904, allocations: 0 / 366.7 MB, free: 4.91 MB / 302.1 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