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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 52.39 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2963, allocations: 49.16 MB / 396.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001759/0.298, allocations: 0.527 MB / 396.9 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.2999, allocations: 1.443 MB / 398.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.2999, allocations: 0 / 398.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.3, allocations: 1.188 kB / 398.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006083/0.3006, allocations: 180.2 kB / 398.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.123e-05/0.3006, allocations: 2.891 kB / 398.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.827e-05/0.3006, allocations: 20.77 kB / 398.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.3007, allocations: 5.75 kB / 398.5 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.3007, allocations: 9.812 kB / 398.5 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.3008, allocations: 7.125 kB / 398.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3008, allocations: 8.984 kB / 398.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.3011, allocations: 225.7 kB / 398.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.3012, allocations: 5.875 kB / 398.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.3012, allocations: 6.469 kB / 398.8 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.3015, allocations: 174 kB / 399 MB, free: 7.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3015, allocations: 4.703 kB / 399 MB, free: 7.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3015, allocations: 1.094 kB / 399 MB, free: 7.344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3015, allocations: 0 / 399 MB, free: 7.344 MB / 318.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.0003828/0.3019, allocations: 286.2 kB / 399.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3019, allocations: 13.41 kB / 399.3 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.608e-05/0.3019, allocations: 31.94 kB / 399.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.3019, allocations: 2.547 kB / 399.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.248e-05/0.302, allocations: 115.1 kB / 399.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3021, allocations: 5.688 kB / 399.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3021, allocations: 2.469 kB / 399.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.007e-05/0.3022, allocations: 40.28 kB / 399.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3022, allocations: 1.188 kB / 399.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3022, allocations: 0.6094 kB / 399.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3022, allocations: 1 kB / 399.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.456e-05/0.3022, allocations: 13.72 kB / 399.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.3023, allocations: 126.8 kB / 399.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.125e-05/0.3024, allocations: 31.61 kB / 399.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.3024, allocations: 9.031 kB / 399.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.3024, allocations: 5.469 kB / 399.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.3024, allocations: 39.59 kB / 399.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3024, allocations: 0 / 399.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001337/0.3026, allocations: 58.66 kB / 399.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.3026, allocations: 52.11 kB / 399.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.206e-05/0.3027, allocations: 99.56 kB / 399.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.3027, allocations: 29.7 kB / 399.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.447e-05/0.3027, allocations: 82.23 kB / 400 MB, free: 6.266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.3027, allocations: 9.984 kB / 400 MB, free: 6.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.3028, allocations: 18.62 kB / 400 MB, free: 6.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.3028, allocations: 321.8 kB / 400.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.3028, allocations: 4.672 kB / 400.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.3029, allocations: 20.75 kB / 400.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.364e-05/0.3029, allocations: 33.14 kB / 400.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3029, allocations: 1.531 kB / 400.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.996e-05/0.303, allocations: 66.55 kB / 400.4 MB, free: 5.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.303, allocations: 5.219 kB / 400.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.303, allocations: 0 / 400.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.303, allocations: 4.938 kB / 400.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.3031, allocations: 9.703 kB / 400.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3031, allocations: 0 / 400.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.3031, allocations: 1.375 kB / 400.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.3031, allocations: 2.156 kB / 400.5 MB, free: 5.816 MB / 318.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 4.733e-05/0.3032, allocations: 112.3 kB / 400.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.3032, allocations: 13.8 kB / 400.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.3032, allocations: 5.656 kB / 400.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3032, allocations: 0 / 400.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3032, allocations: 1.906 kB / 400.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3032, allocations: 0 / 400.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.798e-05/0.3033, allocations: 129 kB / 400.7 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3033, allocations: 0 / 400.7 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.3034, allocations: 12.25 kB / 400.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.3034, allocations: 0 / 400.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3034, allocations: 5.031 kB / 400.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3034, allocations: 0.7031 kB / 400.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3034, allocations: 3.938 kB / 400.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.3035, allocations: 80.02 kB / 400.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.3035, allocations: 13.94 kB / 400.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3035, allocations: 2.203 kB / 400.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.3035, allocations: 128 / 400.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.3035, allocations: 2.531 kB / 400.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.3035, allocations: 5.406 kB / 400.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.731e-05/0.3036, allocations: 84.41 kB / 400.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3036, allocations: 1.406 kB / 400.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3038, allocations: 54.06 kB / 401 MB, free: 5.328 MB / 318.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.0003773/0.3042, allocations: 0.6647 MB / 401.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.558e-05/0.3043, allocations: 13.12 kB / 401.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3043, allocations: 1.312 kB / 401.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.811e-05/0.3043, allocations: 14.06 kB / 401.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.3045, allocations: 2.078 kB / 401.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007335/0.3052, allocations: 1.183 MB / 402.9 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.3052, allocations: 71.28 kB / 402.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.986e-05/0.3053, allocations: 4.453 kB / 402.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.3054, allocations: 9.297 kB / 402.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3054, allocations: 0 / 402.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.3357, allocations: 2.499 MB / 405.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.47, allocations: 19.23 kB / 405.5 MB, free: 2.418 MB / 318.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.20478842779994]