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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007868/0.0007867, allocations: 88.16 kB / 16.31 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008796/0.0008797, allocations: 182.8 kB / 17.21 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 241.2 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002828, allocations: 8.719 kB / 300.9 MB, free: 6.348 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.119, allocations: 50.42 MB / 351.3 MB, free: 3.918 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0007661/0.1198, allocations: 246.1 kB / 351.6 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.1221, allocations: 1.421 MB / 353 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.1222, allocations: 0 / 353 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.1222, allocations: 0 / 353 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006288/0.1229, allocations: 131.7 kB / 353.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.852e-05/0.1229, allocations: 3.938 kB / 353.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.123, allocations: 8 kB / 353.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1231, allocations: 7.984 kB / 353.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.1232, allocations: 7.938 kB / 353.2 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.1233, allocations: 0 / 353.2 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1233, allocations: 4 kB / 353.2 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.1238, allocations: 227.7 kB / 353.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.1239, allocations: 15.92 kB / 353.4 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.1239, allocations: 25.7 kB / 353.4 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1241, allocations: 115.8 kB / 353.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1242, allocations: 0 / 353.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1242, allocations: 0 / 353.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1242, allocations: 0 / 353.5 MB, free: 1.699 MB / 286.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.0006135/0.1248, allocations: 355.6 kB / 353.9 MB, free: 1.305 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1249, allocations: 12.03 kB / 353.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.1249, allocations: 30.56 kB / 353.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.1249, allocations: 7.953 kB / 353.9 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1252, allocations: 171 kB / 354.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.1252, allocations: 0 / 354.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1253, allocations: 4 kB / 354.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.643e-05/0.1254, allocations: 45.55 kB / 354.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1254, allocations: 4 kB / 354.2 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1254, allocations: 0 / 354.2 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1254, allocations: 3.953 kB / 354.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.1255, allocations: 11.98 kB / 354.2 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.1257, allocations: 161.6 kB / 354.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.068e-05/0.1258, allocations: 30.58 kB / 354.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.1258, allocations: 8.953 kB / 354.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1258, allocations: 7.922 kB / 354.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.1259, allocations: 30.56 kB / 354.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 3.707e-06/0.1259, allocations: 0 / 354.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.000299/0.1262, allocations: 49.69 kB / 354.4 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1263, allocations: 55.41 kB / 354.5 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1264, allocations: 101.8 kB / 354.6 MB, free: 440 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1264, allocations: 25.7 kB / 354.6 MB, free: 408 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.1265, allocations: 92.12 kB / 354.7 MB, free: 312 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.1265, allocations: 11.89 kB / 354.7 MB, free: 300 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.1266, allocations: 0 / 354.7 MB, free: 300 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000432/0.127, allocations: 314.8 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.127, allocations: 7.938 kB / 355 MB, free: 15.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.882e-05/0.1271, allocations: 29.7 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.1271, allocations: 8 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1271, allocations: 0 / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.447e-05/0.1272, allocations: 53.59 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1272, allocations: 7.938 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1273, allocations: 4 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1273, allocations: 0 / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.1274, allocations: 8 kB / 355.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1274, allocations: 4.031 kB / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.1274, allocations: 3.953 kB / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1275, allocations: 8 kB / 355.2 MB, free: 15.83 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.0001175/0.1276, allocations: 109.8 kB / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.1276, allocations: 0 / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.1276, allocations: 15.44 kB / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1277, allocations: 0 / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.1277, allocations: 0 / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1277, allocations: 432 / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.1278, allocations: 157.6 kB / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1278, allocations: 4 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.148e-05/0.1279, allocations: 12 kB / 355.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1279, allocations: 0 / 355.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1279, allocations: 0 / 355.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.128, allocations: 12.05 kB / 355.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.128, allocations: 0 / 355.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.1281, allocations: 84.91 kB / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.1282, allocations: 81.14 kB / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1282, allocations: 8.062 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.768e-05/0.1283, allocations: 0 / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.1283, allocations: 3.984 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.1283, allocations: 4 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.129e-05/0.1284, allocations: 79.28 kB / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1284, allocations: 0 / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.1287, allocations: 55.98 kB / 355.8 MB, free: 15.11 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.0009163/0.1296, allocations: 0.6631 MB / 356.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.1297, allocations: 19.98 kB / 356.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1297, allocations: 0 / 356.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.744e-05/0.1297, allocations: 11.94 kB / 356.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.1299, allocations: 4 kB / 356.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000941/0.1309, allocations: 417.8 kB / 356.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008799/0.1318, allocations: 0.6847 MB / 357.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.1319, allocations: 4 kB / 357.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.132, allocations: 11.44 kB / 357.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.132, allocations: 4 kB / 357.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.1481, allocations: 1.81 MB / 359.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.1483, allocations: 185.4 kB / 359.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/1.925, allocations: 0 / 359.6 MB, free: 11.27 MB / 302.1 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