Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001758/0.001758, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 64.77 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2592, allocations: 53.36 MB / 431.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001748/0.2609, allocations: 0.5212 MB / 432.4 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.2632, allocations: 1.574 MB / 434 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.2632, allocations: 0 / 434 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.2633, allocations: 0 / 434 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006924/0.264, allocations: 179.4 kB / 434.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.134e-05/0.264, allocations: 3.984 kB / 434.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.2641, allocations: 15.98 kB / 434.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.2641, allocations: 0 / 434.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.2642, allocations: 11.88 kB / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.2642, allocations: 11.98 kB / 434.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.2642, allocations: 0 / 434.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.2647, allocations: 251.7 kB / 434.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.2647, allocations: 11.91 kB / 434.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.2647, allocations: 4 kB / 434.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.265, allocations: 176.4 kB / 434.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.265, allocations: 0 / 434.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.265, allocations: 0 / 434.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.265, allocations: 0 / 434.7 MB, free: 4.168 MB / 334.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.0004537/0.2655, allocations: 296.3 kB / 434.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2655, allocations: 12.03 kB / 435 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.2656, allocations: 38.75 kB / 435 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.2656, allocations: 0.9375 kB / 435 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2657, allocations: 110.5 kB / 435.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2657, allocations: 384 / 435.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.2658, allocations: 8.312 kB / 435.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.697e-05/0.2658, allocations: 37.83 kB / 435.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2658, allocations: 3.938 kB / 435.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2659, allocations: 3.984 kB / 435.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2659, allocations: 0 / 435.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.908e-05/0.2659, allocations: 4 kB / 435.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.2661, allocations: 136.7 kB / 435.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.672e-05/0.2662, allocations: 34.55 kB / 435.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.2662, allocations: 12.86 kB / 435.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.2662, allocations: 0 / 435.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.2662, allocations: 34.5 kB / 435.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.2662, allocations: 0 / 435.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001569/0.2664, allocations: 57.73 kB / 435.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2664, allocations: 51.41 kB / 435.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.2666, allocations: 105.8 kB / 435.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2666, allocations: 25.7 kB / 435.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.2666, allocations: 88.08 kB / 435.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.2667, allocations: 11.91 kB / 435.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.2667, allocations: 13.72 kB / 435.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.2669, allocations: 318.8 kB / 436 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.267, allocations: 8 kB / 436 MB, free: 2.602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.267, allocations: 21.72 kB / 436.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.194e-05/0.2671, allocations: 29.7 kB / 436.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2671, allocations: 0 / 436.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.118e-05/0.2671, allocations: 57.56 kB / 436.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2672, allocations: 8 kB / 436.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2672, allocations: 0 / 436.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2672, allocations: 4.031 kB / 436.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.2673, allocations: 8 kB / 436.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2673, allocations: 0 / 436.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.2673, allocations: 3.938 kB / 436.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.2673, allocations: 4 kB / 436.2 MB, free: 2.449 MB / 334.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 8.759e-05/0.2674, allocations: 117.7 kB / 436.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.2674, allocations: 7.938 kB / 436.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.2674, allocations: 7.672 kB / 436.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2674, allocations: 0 / 436.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2674, allocations: 4 kB / 436.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2674, allocations: 0 / 436.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2676, allocations: 140.8 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2676, allocations: 0 / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.2676, allocations: 7.938 kB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2676, allocations: 0 / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.2676, allocations: 4 kB / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2676, allocations: 4 kB / 436.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2676, allocations: 0 / 436.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.2678, allocations: 81.52 kB / 436.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.2678, allocations: 3.938 kB / 436.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.2678, allocations: 0 / 436.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.2678, allocations: 8.031 kB / 436.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.2678, allocations: 3.938 kB / 436.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.2678, allocations: 0 / 436.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.2679, allocations: 83.27 kB / 436.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2679, allocations: 0 / 436.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.2682, allocations: 55.88 kB / 436.7 MB, free: 1.855 MB / 334.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.0005855/0.2687, allocations: 0.6708 MB / 437.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.347e-05/0.2688, allocations: 23.92 kB / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2688, allocations: 0 / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.2689, allocations: 4 kB / 437.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.269, allocations: 8 kB / 437.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.2701, allocations: 1.186 MB / 438.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.2704, allocations: 0.6768 MB / 439.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.691e-05/0.2705, allocations: 4 kB / 439.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.2706, allocations: 15.42 kB / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2706, allocations: 0 / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.2975, allocations: 2.074 MB / 441.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.356, allocations: 13.16 kB / 441.4 MB, free: 13.13 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_4_1_0-beta_om_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.834632038138807] Failed to read output from testmodel.py, exit status != 0: ['time', 'q', 'qd'] 8.423736686818302 8.448921678 8.18003981 Calling exit ...