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.0007746/0.0007746, allocations: 95.95 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009857/0.0009855, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003358, allocations: 8 kB / 306.8 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1158, allocations: 51.49 MB / 358.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0006187/0.1164, allocations: 254.1 kB / 358.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1185, allocations: 1.469 MB / 360 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.1185, allocations: 4 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.1185, allocations: 3.938 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.1191, allocations: 131.7 kB / 360.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.685e-05/0.1191, allocations: 0 / 360.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.927e-05/0.1192, allocations: 19.91 kB / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.1192, allocations: 4 kB / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.1193, allocations: 7.938 kB / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.1193, allocations: 7.984 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1193, allocations: 4 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.1198, allocations: 235.7 kB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.1198, allocations: 0 / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.1199, allocations: 33.64 kB / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1201, allocations: 119.8 kB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1201, allocations: 4 kB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1201, allocations: 0 / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1201, allocations: 0 / 360.6 MB, free: 11.69 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.0004563/0.1206, allocations: 355.5 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1206, allocations: 16.03 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.1207, allocations: 34.55 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.1207, allocations: 0 / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.1209, allocations: 163.1 kB / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1209, allocations: 0 / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.1209, allocations: 3.953 kB / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.121, allocations: 45.67 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.121, allocations: 0 / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.121, allocations: 0 / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1211, allocations: 0 / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.1211, allocations: 11.92 kB / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.1213, allocations: 157.6 kB / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.365e-05/0.1213, allocations: 34.56 kB / 361.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.1214, allocations: 16.8 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1214, allocations: 3.953 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1214, allocations: 34.59 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.1214, allocations: 0 / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001545/0.1216, allocations: 61.61 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1216, allocations: 51.41 kB / 361.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.1217, allocations: 97.86 kB / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1217, allocations: 25.7 kB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.1218, allocations: 84.14 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1218, allocations: 11.89 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.1218, allocations: 0 / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.122, allocations: 314.8 kB / 362.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.1221, allocations: 8 kB / 362.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.1221, allocations: 25.7 kB / 362.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.1221, allocations: 4 kB / 362.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1222, allocations: 3.938 kB / 362.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.097e-05/0.1222, allocations: 57.59 kB / 362.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1223, allocations: 7.953 kB / 362.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1223, allocations: 4 kB / 362.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1223, allocations: 0 / 362.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.857e-05/0.1224, allocations: 12.03 kB / 362.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1224, allocations: 3.938 kB / 362.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.1224, allocations: 0 / 362.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1224, allocations: 4 kB / 362.2 MB, free: 9.836 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 9.289e-05/0.1225, allocations: 114.9 kB / 362.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.1226, allocations: 3.984 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.1226, allocations: 11.45 kB / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1226, allocations: 432 / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1226, allocations: 0 / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1226, allocations: 4 kB / 362.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.1227, allocations: 157.7 kB / 362.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1228, allocations: 0 / 362.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.1228, allocations: 12.12 kB / 362.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1228, allocations: 3.984 kB / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1228, allocations: 0 / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1228, allocations: 3.953 kB / 362.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1229, allocations: 3.938 kB / 362.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.123, allocations: 88.95 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.123, allocations: 81.14 kB / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1231, allocations: 0 / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.1231, allocations: 0 / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.1231, allocations: 3.953 kB / 362.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1231, allocations: 8 kB / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.1232, allocations: 83.27 kB / 362.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1232, allocations: 3.938 kB / 362.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1235, allocations: 55.98 kB / 362.8 MB, free: 9.105 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.0005316/0.124, allocations: 0.6632 MB / 363.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.939e-05/0.1241, allocations: 19.94 kB / 363.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1241, allocations: 0 / 363.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-05/0.1241, allocations: 4 kB / 363.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.1243, allocations: 14.69 kB / 363.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.125, allocations: 417.8 kB / 363.9 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.1252, allocations: 0.6847 MB / 364.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.934e-05/0.1253, allocations: 4 kB / 364.6 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.1253, allocations: 11.44 kB / 364.6 MB, free: 7.188 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1254, allocations: 0 / 364.6 MB, free: 7.188 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.1385, allocations: 1.867 MB / 366.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.1387, allocations: 184.3 kB / 366.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/1.922, allocations: 64 / 366.7 MB, free: 5.207 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