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.001078/0.001077, allocations: 97.83 kB / 16.94 MB, free: 5.98 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.001114/0.001114, allocations: 177.1 kB / 17.82 MB, free: 5.652 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.567/1.567, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005054/0.0005056, allocations: 12 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 47.58 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0008029/0.1052, allocations: 253.3 kB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.1072, allocations: 1.455 MB / 330.1 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.1072, allocations: 0 / 330.1 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.1073, allocations: 7.938 kB / 330.1 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004807/0.1078, allocations: 119.7 kB / 330.2 MB, free: 2.164 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.928e-05/0.1078, allocations: 0 / 330.2 MB, free: 2.164 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 3.906e-05/0.1078, allocations: 8 kB / 330.3 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.1079, allocations: 0 / 330.3 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.1079, allocations: 7.984 kB / 330.3 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.108, allocations: 19.92 kB / 330.3 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.108, allocations: 0 / 330.3 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.1083, allocations: 215.7 kB / 330.5 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.1084, allocations: 7.938 kB / 330.5 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.1084, allocations: 25.7 kB / 330.5 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1086, allocations: 123.8 kB / 330.6 MB, free: 1.758 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1086, allocations: 0 / 330.6 MB, free: 1.758 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1086, allocations: 0 / 330.6 MB, free: 1.758 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1086, allocations: 0 / 330.6 MB, free: 1.758 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.0004253/0.1091, allocations: 363.5 kB / 331 MB, free: 1.355 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1091, allocations: 8.031 kB / 331 MB, free: 1.348 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.1091, allocations: 30.56 kB / 331 MB, free: 1.309 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.042e-05/0.1092, allocations: 0 / 331 MB, free: 1.309 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.1093, allocations: 171.1 kB / 331.2 MB, free: 1.102 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1094, allocations: 3.953 kB / 331.2 MB, free: 1.098 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.1094, allocations: 4 kB / 331.2 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.345e-05/0.1095, allocations: 37.62 kB / 331.3 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1095, allocations: 0 / 331.3 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1095, allocations: 0 / 331.3 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1095, allocations: 7.984 kB / 331.3 MB, free: 1.043 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.702e-05/0.1096, allocations: 8 kB / 331.3 MB, free: 1.035 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.1097, allocations: 153.7 kB / 331.4 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.911e-05/0.1098, allocations: 38.56 kB / 331.5 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.1098, allocations: 0 / 331.5 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1099, allocations: 42.44 kB / 331.5 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.1099, allocations: 0 / 331.5 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001317/0.11, allocations: 53.69 kB / 331.5 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.1101, allocations: 51.41 kB / 331.6 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.1101, allocations: 101.8 kB / 331.7 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1102, allocations: 25.7 kB / 331.7 MB, free: 488 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.1102, allocations: 88.14 kB / 331.8 MB, free: 396 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.1102, allocations: 3.906 kB / 331.8 MB, free: 392 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-06/0.1102, allocations: 0 / 331.8 MB, free: 392 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1104, allocations: 318.8 kB / 332.1 MB, free: 64 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/0.1104, allocations: 7.984 kB / 332.1 MB, free: 56 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.1104, allocations: 25.66 kB / 332.2 MB, free: 24 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.211e-05/0.1104, allocations: 8 kB / 332.2 MB, free: 16 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1105, allocations: 0 / 332.2 MB, free: 16 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.721e-05/0.1106, allocations: 57.59 kB / 332.2 MB, free: 15.95 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.961e-05/0.1107, allocations: 8 kB / 332.2 MB, free: 15.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1107, allocations: 0 / 332.2 MB, free: 15.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1107, allocations: 0 / 332.2 MB, free: 15.94 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/0.1108, allocations: 19.91 kB / 332.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1108, allocations: 0 / 332.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.1108, allocations: 3.938 kB / 332.3 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.1108, allocations: 4 kB / 332.3 MB, free: 15.92 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 7.186e-05/0.1109, allocations: 109.8 kB / 332.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.1109, allocations: 11.89 kB / 332.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.111, allocations: 3.5 kB / 332.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.111, allocations: 0 / 332.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.111, allocations: 0 / 332.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.111, allocations: 4 kB / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.1111, allocations: 157.8 kB / 332.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1112, allocations: 0 / 332.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.1112, allocations: 11.98 kB / 332.5 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1112, allocations: 0 / 332.5 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1112, allocations: 3.953 kB / 332.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1113, allocations: 0 / 332.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1113, allocations: 0 / 332.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.1114, allocations: 89.39 kB / 332.6 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.1114, allocations: 85.08 kB / 332.7 MB, free: 15.35 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1115, allocations: 3.984 kB / 332.7 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/0.1115, allocations: 7.953 kB / 332.7 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.1115, allocations: 4.031 kB / 332.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.1115, allocations: 0 / 332.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.1116, allocations: 79.28 kB / 332.8 MB, free: 15.25 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1116, allocations: 0 / 332.8 MB, free: 15.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1119, allocations: 51.98 kB / 332.9 MB, free: 15.2 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.0005379/0.1124, allocations: 0.6633 MB / 333.5 MB, free: 14.51 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.384e-05/0.1125, allocations: 16 kB / 333.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1125, allocations: 0 / 333.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.862e-05/0.1125, allocations: 11.98 kB / 333.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.1126, allocations: 7.891 kB / 333.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.1133, allocations: 0.555 MB / 334.1 MB, free: 13.87 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.1136, allocations: 0.681 MB / 334.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.772e-05/0.1137, allocations: 15.92 kB / 334.8 MB, free: 13.14 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.1137, allocations: 7.438 kB / 334.8 MB, free: 13.14 MB / 286.1 MB Notification: Performance of SimCode: time 2.274e-06/0.1137, allocations: 0 / 334.8 MB, free: 13.14 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.1265, allocations: 1.789 MB / 336.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.1268, allocations: 184.1 kB / 336.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/1.774, allocations: 0 / 336.8 MB, free: 11.12 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