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.001712/0.001712, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.002148/0.002148, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.544/1.544, allocations: 230.5 MB / 254.8 MB, free: 14.89 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.002015/0.002015, allocations: 75.81 kB / 373.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1023, allocations: 53.32 MB / 427 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001621/0.1039, allocations: 0.5206 MB / 427.5 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.1061, allocations: 1.564 MB / 429.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.868e-05/0.1061, allocations: 3.938 kB / 429.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.1062, allocations: 3.938 kB / 429.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006722/0.1068, allocations: 175.5 kB / 429.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.373e-05/0.1069, allocations: 3.984 kB / 429.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.576e-05/0.1069, allocations: 19.92 kB / 429.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.107, allocations: 0 / 429.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.107, allocations: 7.984 kB / 429.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.1071, allocations: 7.938 kB / 429.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1071, allocations: 0 / 429.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.1075, allocations: 251.7 kB / 429.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.1075, allocations: 7.984 kB / 429.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.1075, allocations: 7.938 kB / 429.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1078, allocations: 179.5 kB / 429.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1078, allocations: 0 / 429.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1078, allocations: 0 / 429.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.1078, allocations: 0 / 429.7 MB, free: 2.109 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.0004849/0.1083, allocations: 367.1 kB / 430.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1084, allocations: 8.031 kB / 430.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.1084, allocations: 34.69 kB / 430.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.1084, allocations: 4.938 kB / 430.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.1086, allocations: 164.4 kB / 430.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1086, allocations: 4.375 kB / 430.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.1086, allocations: 384 / 430.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1087, allocations: 41.81 kB / 430.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1087, allocations: 0 / 430.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1087, allocations: 4 kB / 430.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1088, allocations: 0 / 430.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.043e-05/0.1088, allocations: 11.98 kB / 430.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.109, allocations: 153.7 kB / 430.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.357e-05/0.1091, allocations: 34.52 kB / 430.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.1091, allocations: 16.94 kB / 430.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1091, allocations: 0 / 430.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.1092, allocations: 38.5 kB / 430.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1092, allocations: 0 / 430.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001816/0.1093, allocations: 61.64 kB / 430.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.1094, allocations: 55.41 kB / 430.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1095, allocations: 97.86 kB / 430.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1095, allocations: 33.64 kB / 430.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.1096, allocations: 84.12 kB / 430.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.1096, allocations: 11.91 kB / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.1097, allocations: 17.72 kB / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1099, allocations: 310.8 kB / 431.3 MB, free: 372 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.1099, allocations: 7.984 kB / 431.3 MB, free: 364 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.562e-05/0.1099, allocations: 25.72 kB / 431.3 MB, free: 332 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.11, allocations: 29.66 kB / 431.3 MB, free: 296 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.11, allocations: 0 / 431.3 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001045/0.1101, allocations: 57.62 kB / 431.4 MB, free: 232 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1101, allocations: 4 kB / 431.4 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-06/0.1101, allocations: 0 / 431.4 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1101, allocations: 0 / 431.4 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1102, allocations: 15.92 kB / 431.4 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1102, allocations: 4.031 kB / 431.4 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.1103, allocations: 7.938 kB / 431.4 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.1103, allocations: 0 / 431.4 MB, free: 200 kB / 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 0.0001017/0.1104, allocations: 113.8 kB / 431.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.1104, allocations: 3.938 kB / 431.5 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.1104, allocations: 3.5 kB / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1104, allocations: 0 / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1104, allocations: 0 / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1104, allocations: 0 / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2014/0.3118, allocations: 163.8 kB / 431.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3118, allocations: 0 / 431.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3119, allocations: 10.8 kB / 431.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.3119, allocations: 0.9688 kB / 431.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3119, allocations: 1.797 kB / 431.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3119, allocations: 0 / 431.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3119, allocations: 0.7812 kB / 431.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.3121, allocations: 75.56 kB / 431.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.3122, allocations: 89.45 kB / 431.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.3122, allocations: 1.344 kB / 431.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.3122, allocations: 1.906 kB / 431.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.3122, allocations: 3.188 kB / 431.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3122, allocations: 1.156 kB / 431.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.579e-05/0.3123, allocations: 89.94 kB / 432 MB, free: 10.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3123, allocations: 0.5625 kB / 432 MB, free: 10.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000372/0.3126, allocations: 53.41 kB / 432 MB, free: 10.63 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.0004343/0.3131, allocations: 0.6676 MB / 432.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.315e-05/0.3131, allocations: 16.09 kB / 432.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3132, allocations: 2.688 kB / 432.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.67e-05/0.3132, allocations: 13.42 kB / 432.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.3133, allocations: 5.625 kB / 432.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000883/0.3142, allocations: 1.185 MB / 433.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.3143, allocations: 0.6789 MB / 434.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.3144, allocations: 4.266 kB / 434.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.3144, allocations: 14 kB / 434.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3144, allocations: 0 / 434.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.3402, allocations: 2.077 MB / 436.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.345, allocations: 2.312 kB / 436.7 MB, free: 7.902 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.970649781171232] Failed to read output from testmodel.py, exit status != 0: ['time', 'q', 'qd'] 8.43294685613364 8.454188455 8.342351614 Calling exit ...