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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 98.62 kB / 16.96 MB, free: 6.445 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.00128/0.00128, allocations: 181.4 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004946, allocations: 15.44 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09629, allocations: 47.57 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0006745/0.097, allocations: 265.2 kB / 328.7 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.09896, allocations: 1.442 MB / 330.1 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.09902, allocations: 0 / 330.1 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.09904, allocations: 0 / 330.1 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006501/0.0997, allocations: 135.7 kB / 330.3 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.018e-05/0.09975, allocations: 7.984 kB / 330.3 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.455e-05/0.09981, allocations: 15.92 kB / 330.3 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.09986, allocations: 0 / 330.3 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.09991, allocations: 4 kB / 330.3 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.1, allocations: 15.92 kB / 330.3 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1, allocations: 0 / 330.3 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.1004, allocations: 227.7 kB / 330.5 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.1004, allocations: 4 kB / 330.5 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.1005, allocations: 29.7 kB / 330.6 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.1007, allocations: 115.8 kB / 330.7 MB, free: 1.723 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1007, allocations: 4 kB / 330.7 MB, free: 1.719 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1007, allocations: 0 / 330.7 MB, free: 1.719 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1007, allocations: 0 / 330.7 MB, free: 1.719 MB / 270.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.0004392/0.1012, allocations: 355.5 kB / 331 MB, free: 1.324 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1012, allocations: 12.03 kB / 331.1 MB, free: 1.312 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.1013, allocations: 34.56 kB / 331.1 MB, free: 1.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.1013, allocations: 7.875 kB / 331.1 MB, free: 1.262 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.1015, allocations: 171.1 kB / 331.3 MB, free: 1.055 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1015, allocations: 3.953 kB / 331.3 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1015, allocations: 0 / 331.3 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.1016, allocations: 37.69 kB / 331.3 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1017, allocations: 0 / 331.3 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.1017, allocations: 0 / 331.3 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1017, allocations: 4 kB / 331.3 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.518e-05/0.1017, allocations: 4 kB / 331.3 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.1019, allocations: 157.7 kB / 331.5 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.632e-05/0.102, allocations: 46.48 kB / 331.5 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.102, allocations: 12.86 kB / 331.5 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.1021, allocations: 0 / 331.5 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1021, allocations: 34.56 kB / 331.6 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1021, allocations: 0 / 331.6 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001689/0.1023, allocations: 57.62 kB / 331.6 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.1023, allocations: 51.41 kB / 331.7 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.1024, allocations: 105.8 kB / 331.8 MB, free: 456 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1025, allocations: 25.7 kB / 331.8 MB, free: 424 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.1025, allocations: 80.14 kB / 331.9 MB, free: 340 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.1026, allocations: 15.84 kB / 331.9 MB, free: 324 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.1026, allocations: 0 / 331.9 MB, free: 324 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1027, allocations: 314.8 kB / 332.2 MB, free: 0 / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.1028, allocations: 8.328 kB / 332.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.1028, allocations: 17.72 kB / 332.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.891e-05/0.1028, allocations: 15.94 kB / 332.2 MB, free: 15.95 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1029, allocations: 0 / 332.2 MB, free: 15.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.704e-05/0.103, allocations: 61.5 kB / 332.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.103, allocations: 7.984 kB / 332.3 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.103, allocations: 0 / 332.3 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.103, allocations: 4 kB / 332.3 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/0.1031, allocations: 4 kB / 332.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1031, allocations: 8.031 kB / 332.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.1032, allocations: 3.938 kB / 332.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1032, allocations: 0 / 332.3 MB, free: 15.86 MB / 286.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 8.343e-05/0.1033, allocations: 109.8 kB / 332.4 MB, free: 15.74 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.1033, allocations: 7.891 kB / 332.4 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.1033, allocations: 15.42 kB / 332.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1033, allocations: 0 / 332.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1033, allocations: 4 kB / 332.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1034, allocations: 0 / 332.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.1035, allocations: 157.7 kB / 332.6 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1035, allocations: 0 / 332.6 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.1036, allocations: 4 kB / 332.6 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.1036, allocations: 4 kB / 332.6 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1036, allocations: 3.953 kB / 332.6 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1036, allocations: 0 / 332.6 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1036, allocations: 0 / 332.6 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.1038, allocations: 81.16 kB / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.1038, allocations: 85.2 kB / 332.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1039, allocations: 4.031 kB / 332.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.1039, allocations: 3.953 kB / 332.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.1039, allocations: 0 / 332.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1039, allocations: 3.938 kB / 332.8 MB, free: 15.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.284e-05/0.104, allocations: 87.27 kB / 332.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.104, allocations: 0 / 332.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1043, allocations: 44 kB / 332.9 MB, free: 15.15 MB / 286.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.0005462/0.1048, allocations: 0.6671 MB / 333.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.226e-05/0.1049, allocations: 23.92 kB / 333.6 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.105, allocations: 0 / 333.6 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.439e-05/0.105, allocations: 11.94 kB / 333.6 MB, free: 14.42 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.1051, allocations: 7.953 kB / 333.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.1057, allocations: 425.8 kB / 334 MB, free: 13.95 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.106, allocations: 0.677 MB / 334.7 MB, free: 13.24 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.832e-05/0.106, allocations: 8.109 kB / 334.7 MB, free: 13.23 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.1061, allocations: 15.44 kB / 334.7 MB, free: 13.22 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1061, allocations: 0 / 334.7 MB, free: 13.22 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/0.119, allocations: 1.788 MB / 336.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.1193, allocations: 197.3 kB / 336.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/2.331, allocations: 0 / 336.7 MB, free: 11.2 MB / 286.1 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) Environment - environmentSimulation: 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