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.001363/0.001363, allocations: 106.5 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.001586/0.001586, allocations: 213.2 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.00216/0.00216, allocations: 68.75 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2688, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001613/0.2704, allocations: 0.5201 MB / 432.4 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.2727, allocations: 1.567 MB / 434 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.2728, allocations: 3.938 kB / 434 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.2728, allocations: 4 kB / 434 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006214/0.2734, allocations: 167.5 kB / 434.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.287e-05/0.2734, allocations: 4 kB / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.031e-05/0.2735, allocations: 15.92 kB / 434.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.2735, allocations: 7.984 kB / 434.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.496e-05/0.2736, allocations: 11.94 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.2736, allocations: 7.984 kB / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.2736, allocations: 4 kB / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.274, allocations: 243.7 kB / 434.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.274, allocations: 7.922 kB / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.2741, allocations: 8 kB / 434.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.2743, allocations: 176.4 kB / 434.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2743, allocations: 0 / 434.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2743, allocations: 0 / 434.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2744, allocations: 0 / 434.6 MB, free: 4.141 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.0004397/0.2748, allocations: 305.8 kB / 434.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2748, allocations: 8.031 kB / 435 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.2749, allocations: 30.75 kB / 435 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.2749, allocations: 0.9375 kB / 435 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.275, allocations: 110.5 kB / 435.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/0.275, allocations: 384 / 435.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.2751, allocations: 8.375 kB / 435.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.298e-05/0.2751, allocations: 33.83 kB / 435.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2751, allocations: 0 / 435.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.2752, allocations: 3.938 kB / 435.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.2752, allocations: 7.984 kB / 435.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.341e-05/0.2752, allocations: 8 kB / 435.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.2754, allocations: 140.7 kB / 435.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.607e-05/0.2755, allocations: 30.61 kB / 435.3 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.2755, allocations: 8.859 kB / 435.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-06/0.2755, allocations: 0 / 435.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.2755, allocations: 42.5 kB / 435.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.2755, allocations: 0 / 435.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001658/0.2757, allocations: 53.67 kB / 435.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.2757, allocations: 51.41 kB / 435.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2758, allocations: 105.8 kB / 435.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.2759, allocations: 25.7 kB / 435.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.2759, allocations: 88.08 kB / 435.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.2759, allocations: 7.906 kB / 435.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.276, allocations: 17.72 kB / 435.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.2762, allocations: 318.8 kB / 436 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.2762, allocations: 8 kB / 436 MB, free: 2.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/0.2762, allocations: 17.72 kB / 436.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.756e-05/0.2763, allocations: 33.64 kB / 436.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2763, allocations: 0 / 436.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.939e-05/0.2763, allocations: 57.64 kB / 436.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2764, allocations: 12.02 kB / 436.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2764, allocations: 0 / 436.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2764, allocations: 0 / 436.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.2765, allocations: 11.94 kB / 436.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2765, allocations: 0 / 436.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.517e-05/0.2765, allocations: 7.938 kB / 436.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-06/0.2765, allocations: 0 / 436.2 MB, free: 2.414 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.514e-05/0.2766, allocations: 113.8 kB / 436.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.2766, allocations: 3.938 kB / 436.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.2766, allocations: 15.67 kB / 436.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2766, allocations: 0 / 436.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2766, allocations: 0 / 436.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2766, allocations: 4 kB / 436.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.2768, allocations: 128.7 kB / 436.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2768, allocations: 3.938 kB / 436.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.2768, allocations: 7.938 kB / 436.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2768, allocations: 4 kB / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2768, allocations: 0 / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2768, allocations: 0 / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2768, allocations: 0 / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.277, allocations: 85.47 kB / 436.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.277, allocations: 11.95 kB / 436.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.277, allocations: 128 / 436.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.277, allocations: 4 kB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.277, allocations: 0 / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.277, allocations: 0 / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.769e-05/0.2771, allocations: 87.27 kB / 436.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2771, allocations: 64 / 436.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.2774, allocations: 55.88 kB / 436.7 MB, free: 1.824 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.0005671/0.2779, allocations: 0.6669 MB / 437.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.979e-05/0.278, allocations: 15.98 kB / 437.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.278, allocations: 3.938 kB / 437.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.006e-05/0.278, allocations: 20.06 kB / 437.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.2782, allocations: 0 / 437.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.2795, allocations: 1.186 MB / 438.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.2799, allocations: 0.6807 MB / 439.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.28, allocations: 3.984 kB / 439.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.2801, allocations: 15.42 kB / 439.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2801, allocations: 0 / 439.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.3072, allocations: 2.067 MB / 441.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.369, allocations: 3.453 kB / 441.3 MB, free: 13.11 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.783024315256625] Failed to read output from testmodel.py, exit status != 0: ['time', 'q', 'qd'] 8.438624407164752 8.452144202 8.174702862 Calling exit ...