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.001245/0.001245, allocations: 114.3 kB / 17.28 MB, free: 6.219 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.001364/0.001364, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.385/1.385, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001131/0.001131, allocations: 60.2 kB / 280.3 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.106, allocations: 46.63 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001717/0.1078, allocations: 0.5901 MB / 327.5 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1096, allocations: 1.507 MB / 329 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.1096, allocations: 0 / 329 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.1097, allocations: 0 / 329 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005651/0.1103, allocations: 155.7 kB / 329.1 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.016e-05/0.1103, allocations: 0 / 329.1 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.219e-05/0.1103, allocations: 23.91 kB / 329.2 MB, free: 2.402 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.1104, allocations: 0 / 329.2 MB, free: 2.402 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.416e-05/0.1104, allocations: 7.938 kB / 329.2 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.1105, allocations: 7.938 kB / 329.2 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1105, allocations: 3.938 kB / 329.2 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.1109, allocations: 243.7 kB / 329.4 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.1109, allocations: 4 kB / 329.4 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.1109, allocations: 15.92 kB / 329.4 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.1112, allocations: 167.8 kB / 329.6 MB, free: 1.961 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1112, allocations: 0 / 329.6 MB, free: 1.961 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1112, allocations: 7.938 kB / 329.6 MB, free: 1.953 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1112, allocations: 0 / 329.6 MB, free: 1.953 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.0004743/0.1117, allocations: 359.7 kB / 330 MB, free: 1.555 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.1117, allocations: 8.031 kB / 330 MB, free: 1.547 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.1118, allocations: 30.75 kB / 330 MB, free: 1.508 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.1118, allocations: 4.938 kB / 330 MB, free: 1.504 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.112, allocations: 164.4 kB / 330.2 MB, free: 1.305 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.112, allocations: 4.375 kB / 330.2 MB, free: 1.301 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.112, allocations: 12.27 kB / 330.2 MB, free: 1.289 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.163e-05/0.1121, allocations: 37.77 kB / 330.2 MB, free: 1.246 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1121, allocations: 0 / 330.2 MB, free: 1.246 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1121, allocations: 0 / 330.2 MB, free: 1.246 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1121, allocations: 0 / 330.2 MB, free: 1.246 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.213e-05/0.1122, allocations: 15.98 kB / 330.2 MB, free: 1.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.1124, allocations: 153.7 kB / 330.4 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.865e-05/0.1125, allocations: 34.58 kB / 330.4 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.1125, allocations: 8.938 kB / 330.4 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.1125, allocations: 7.938 kB / 330.4 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1125, allocations: 34.5 kB / 330.5 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1125, allocations: 0 / 330.5 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.000143/0.1127, allocations: 49.67 kB / 330.5 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1127, allocations: 55.41 kB / 330.6 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.1128, allocations: 105.8 kB / 330.7 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1129, allocations: 25.7 kB / 330.7 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.1129, allocations: 84.14 kB / 330.8 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1129, allocations: 11.75 kB / 330.8 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.113, allocations: 17.72 kB / 330.8 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1131, allocations: 318.8 kB / 331.1 MB, free: 224 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.1131, allocations: 8 kB / 331.1 MB, free: 216 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.582e-05/0.1132, allocations: 25.66 kB / 331.1 MB, free: 184 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.396e-05/0.1132, allocations: 25.72 kB / 331.2 MB, free: 152 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1132, allocations: 0 / 331.2 MB, free: 152 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.24e-05/0.1133, allocations: 61.56 kB / 331.2 MB, free: 84 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1133, allocations: 7.938 kB / 331.2 MB, free: 76 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1133, allocations: 0 / 331.2 MB, free: 76 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1134, allocations: 7.984 kB / 331.2 MB, free: 68 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.1134, allocations: 7.938 kB / 331.3 MB, free: 60 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1135, allocations: 8.031 kB / 331.3 MB, free: 52 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.1135, allocations: 0 / 331.3 MB, free: 52 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.1135, allocations: 0 / 331.3 MB, free: 52 kB / 270.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/0.1136, allocations: 109.8 kB / 331.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.1136, allocations: 3.938 kB / 331.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.1137, allocations: 7.5 kB / 331.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1137, allocations: 128 / 331.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1137, allocations: 8 kB / 331.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1137, allocations: 3.984 kB / 331.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.1138, allocations: 161.5 kB / 331.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1138, allocations: 3.984 kB / 331.6 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/0.1139, allocations: 11.94 kB / 331.6 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1139, allocations: 0 / 331.6 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1139, allocations: 0 / 331.6 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1139, allocations: 0 / 331.6 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1139, allocations: 0 / 331.6 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.114, allocations: 73.12 kB / 331.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.1141, allocations: 89.09 kB / 331.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.1141, allocations: 4.031 kB / 331.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.1141, allocations: 0 / 331.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.1142, allocations: 0 / 331.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.1142, allocations: 0 / 331.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.975e-05/0.1142, allocations: 83.75 kB / 331.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.1142, allocations: 0 / 331.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1145, allocations: 59.92 kB / 331.9 MB, free: 15.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005169/0.115, allocations: 0.6671 MB / 332.5 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.012e-05/0.1151, allocations: 27.92 kB / 332.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1151, allocations: 0 / 332.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.1151, allocations: 12 kB / 332.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.1153, allocations: 3.938 kB / 332.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009969/0.1163, allocations: 1.183 MB / 333.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1166, allocations: 0.6845 MB / 334.4 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.1167, allocations: 7.984 kB / 334.5 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.1167, allocations: 11.44 kB / 334.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1167, allocations: 0 / 334.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.1299, allocations: 1.881 MB / 336.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.1302, allocations: 212.3 kB / 336.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.959, allocations: 0 / 336.6 MB, free: 10.45 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/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) diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches