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.001457/0.001457, allocations: 115 kB / 18.45 MB, free: 4.641 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.001507/0.001507, allocations: 206.5 kB / 21.41 MB, free: 1.684 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.485/1.485, allocations: 227.7 MB / 251.9 MB, free: 15.7 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.001997/0.001997, allocations: 71.83 kB / 365.2 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1331, allocations: 50.54 MB / 415.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001778/0.1349, allocations: 0.5167 MB / 416.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.1373, allocations: 1.552 MB / 417.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.1373, allocations: 3.938 kB / 417.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.1374, allocations: 0 / 417.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006912/0.1381, allocations: 175.5 kB / 418 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.449e-05/0.1381, allocations: 3.938 kB / 418 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.694e-05/0.1382, allocations: 12 kB / 418 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.1383, allocations: 7.969 kB / 418 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.1383, allocations: 7.938 kB / 418 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.1384, allocations: 11.94 kB / 418.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1384, allocations: 4 kB / 418.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.1388, allocations: 251.7 kB / 418.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.1389, allocations: 0 / 418.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.1389, allocations: 3.938 kB / 418.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.1392, allocations: 183.5 kB / 418.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1392, allocations: 0 / 418.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1392, allocations: 4 kB / 418.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1392, allocations: 0 / 418.5 MB, free: 10.84 MB / 350.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.0004742/0.1397, allocations: 363.1 kB / 418.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1398, allocations: 12.03 kB / 418.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.1398, allocations: 30.75 kB / 418.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.1398, allocations: 4.938 kB / 418.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.14, allocations: 160.4 kB / 419 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.14, allocations: 8.375 kB / 419.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.14, allocations: 384 / 419.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.585e-05/0.1401, allocations: 41.75 kB / 419.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1402, allocations: 0 / 419.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1402, allocations: 0 / 419.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1402, allocations: 0 / 419.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.735e-05/0.1402, allocations: 19.98 kB / 419.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.1404, allocations: 153.7 kB / 419.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.259e-05/0.1405, allocations: 30.58 kB / 419.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.1405, allocations: 12.94 kB / 419.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.1406, allocations: 0 / 419.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1406, allocations: 38.44 kB / 419.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.806e-06/0.1406, allocations: 7.984 kB / 419.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001468/0.1408, allocations: 49.64 kB / 419.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.1408, allocations: 59.34 kB / 419.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/0.1409, allocations: 97.86 kB / 419.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1409, allocations: 33.62 kB / 419.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.141, allocations: 84.14 kB / 419.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.141, allocations: 11.91 kB / 419.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.1411, allocations: 17.72 kB / 419.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1412, allocations: 318.8 kB / 420 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.1413, allocations: 8 kB / 420 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.1413, allocations: 21.66 kB / 420 MB, free: 9.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.1414, allocations: 25.72 kB / 420.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1414, allocations: 0 / 420.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001038/0.1415, allocations: 61.56 kB / 420.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1415, allocations: 4 kB / 420.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1415, allocations: 8.031 kB / 420.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1415, allocations: 0 / 420.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.1416, allocations: 11.98 kB / 420.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1416, allocations: 0 / 420.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.1416, allocations: 3.938 kB / 420.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.1417, allocations: 0 / 420.2 MB, free: 8.934 MB / 350.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.226e-05/0.1417, allocations: 109.8 kB / 420.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.1418, allocations: 3.938 kB / 420.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.1418, allocations: 7.5 kB / 420.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1418, allocations: 8.125 kB / 420.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1418, allocations: 4 kB / 420.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1418, allocations: 0 / 420.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.142, allocations: 157.6 kB / 420.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.142, allocations: 3.938 kB / 420.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.1421, allocations: 15.92 kB / 420.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1421, allocations: 0 / 420.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1421, allocations: 0 / 420.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1421, allocations: 0 / 420.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1421, allocations: 0 / 420.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.1423, allocations: 77.12 kB / 420.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.1423, allocations: 85.08 kB / 420.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1423, allocations: 3.984 kB / 420.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.745e-05/0.1424, allocations: 0 / 420.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.1424, allocations: 480 / 420.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1424, allocations: 4 kB / 420.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.231e-05/0.1425, allocations: 91.2 kB / 420.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1425, allocations: 0 / 420.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1428, allocations: 55.92 kB / 420.8 MB, free: 8.215 MB / 350.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.000625/0.1434, allocations: 0.6746 MB / 421.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.276e-05/0.1435, allocations: 19.92 kB / 421.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1435, allocations: 0 / 421.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/0.1435, allocations: 8.125 kB / 421.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.1437, allocations: 8 kB / 421.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.1448, allocations: 1.186 MB / 422.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1452, allocations: 0.6768 MB / 423.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.1453, allocations: 4 kB / 423.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.1454, allocations: 11.38 kB / 423.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1454, allocations: 0 / 423.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.1703, allocations: 2.071 MB / 425.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.09, allocations: 2.5 kB / 425.4 MB, free: 3.516 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.582840431015939] Failed to read output from testmodel.py, exit status != 0: ['time', 'q', 'qd'] 8.157744944095612 8.181551684 8.03818166 Calling exit ...