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.001142/0.001148, allocations: 96.39 kB / 17.58 MB, free: 5.418 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.001019/0.001019, allocations: 192 kB / 18.51 MB, free: 4.508 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.369/1.369, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.00123/0.00123, allocations: 47.94 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1077, allocations: 46.64 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001929/0.1097, allocations: 0.5253 MB / 327.9 MB, free: 3.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.1117, allocations: 1.518 MB / 329.4 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.1118, allocations: 0 / 329.4 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.1118, allocations: 0 / 329.4 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006442/0.1124, allocations: 167.5 kB / 329.6 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.765e-05/0.1125, allocations: 7.984 kB / 329.6 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.558e-05/0.1125, allocations: 19.86 kB / 329.6 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.1126, allocations: 8 kB / 329.6 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.1126, allocations: 4 kB / 329.6 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.1127, allocations: 11.92 kB / 329.6 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1127, allocations: 0 / 329.6 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.1131, allocations: 239.7 kB / 329.9 MB, free: 1.855 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.1131, allocations: 11.98 kB / 329.9 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.1131, allocations: 7.922 kB / 329.9 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1134, allocations: 159.8 kB / 330 MB, free: 1.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.1135, allocations: 8 kB / 330.1 MB, free: 1.672 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1135, allocations: 3.938 kB / 330.1 MB, free: 1.668 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1135, allocations: 4 kB / 330.1 MB, free: 1.664 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.0005169/0.114, allocations: 359.7 kB / 330.4 MB, free: 1.266 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.114, allocations: 8.031 kB / 330.4 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/0.1141, allocations: 38.69 kB / 330.5 MB, free: 1.211 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.1141, allocations: 4.938 kB / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.1143, allocations: 164.4 kB / 330.6 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1143, allocations: 4.375 kB / 330.6 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1143, allocations: 4.281 kB / 330.6 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.887e-05/0.1144, allocations: 41.81 kB / 330.7 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1144, allocations: 4 kB / 330.7 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1145, allocations: 0 / 330.7 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1145, allocations: 4 kB / 330.7 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.1145, allocations: 8 kB / 330.7 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.1147, allocations: 153.7 kB / 330.8 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.891e-05/0.1148, allocations: 42.53 kB / 330.9 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.1148, allocations: 12.86 kB / 330.9 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.1148, allocations: 4 kB / 330.9 MB, free: 0.668 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1148, allocations: 34.5 kB / 330.9 MB, free: 0.625 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1148, allocations: 0 / 330.9 MB, free: 0.625 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001413/0.115, allocations: 49.72 kB / 331 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.115, allocations: 51.41 kB / 331 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.1151, allocations: 105.8 kB / 331.1 MB, free: 404 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1152, allocations: 29.64 kB / 331.2 MB, free: 368 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.1152, allocations: 80.14 kB / 331.2 MB, free: 284 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.1152, allocations: 23.75 kB / 331.3 MB, free: 260 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.1153, allocations: 13.72 kB / 331.3 MB, free: 240 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1154, allocations: 318.8 kB / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.1154, allocations: 4 kB / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/0.1155, allocations: 17.72 kB / 331.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/0.1155, allocations: 37.64 kB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1155, allocations: 4 kB / 331.7 MB, free: 15.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.937e-05/0.1156, allocations: 53.62 kB / 331.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1156, allocations: 7.938 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1156, allocations: 0 / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1157, allocations: 4 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.1157, allocations: 7.938 kB / 331.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1157, allocations: 4 kB / 331.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.1158, allocations: 0 / 331.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1158, allocations: 4 kB / 331.7 MB, free: 15.75 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.1159, allocations: 113.9 kB / 331.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.1159, allocations: 3.938 kB / 331.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.1159, allocations: 11.48 kB / 331.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1159, allocations: 4 kB / 331.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1159, allocations: 0 / 331.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1159, allocations: 0 / 331.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.116, allocations: 153.6 kB / 332 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.116, allocations: 0 / 332 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.1161, allocations: 11.94 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1161, allocations: 0 / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1161, allocations: 8 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1161, allocations: 0 / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1161, allocations: 0 / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1163, allocations: 77.59 kB / 332.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1163, allocations: 85.08 kB / 332.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.1164, allocations: 4 kB / 332.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.1164, allocations: 4 kB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.1164, allocations: 48 / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1164, allocations: 8.047 kB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.703e-05/0.1165, allocations: 83.27 kB / 332.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1165, allocations: 4 kB / 332.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1167, allocations: 48 kB / 332.3 MB, free: 15.04 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.0005113/0.1172, allocations: 0.667 MB / 333 MB, free: 14.35 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.611e-05/0.1173, allocations: 27.98 kB / 333 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1173, allocations: 0 / 333 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.1174, allocations: 8 kB / 333 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.1175, allocations: 7.938 kB / 333 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009316/0.1184, allocations: 1.179 MB / 334.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.1187, allocations: 0.6807 MB / 334.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.928e-05/0.1187, allocations: 4 kB / 334.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.1188, allocations: 11.44 kB / 334.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1188, allocations: 0 / 334.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.1372, allocations: 1.961 MB / 336.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.336, allocations: 8.234 kB / 336.9 MB, free: 10.3 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches