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.001707/0.001707, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002022/0.002022, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.449/1.449, allocations: 230.4 MB / 254.7 MB, free: 14.99 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.001916/0.001916, allocations: 71.88 kB / 373.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1085, allocations: 53.32 MB / 426.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001608/0.1101, allocations: 0.5169 MB / 427.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1121, allocations: 1.564 MB / 429 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.1121, allocations: 0 / 429 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.1121, allocations: 0 / 429 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005926/0.1127, allocations: 175.4 kB / 429.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.39e-05/0.1127, allocations: 7.922 kB / 429.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.164e-05/0.1128, allocations: 16 kB / 429.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.1128, allocations: 0 / 429.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.1129, allocations: 7.984 kB / 429.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.1129, allocations: 15.86 kB / 429.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1129, allocations: 0 / 429.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.1133, allocations: 243.7 kB / 429.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.1133, allocations: 8 kB / 429.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.1133, allocations: 7.875 kB / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.1136, allocations: 179.5 kB / 429.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1136, allocations: 0 / 429.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1136, allocations: 4 kB / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1136, allocations: 0 / 429.6 MB, free: 2.082 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.0004457/0.1141, allocations: 369.5 kB / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1141, allocations: 8.031 kB / 430 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.1141, allocations: 30.75 kB / 430 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.1142, allocations: 4.938 kB / 430 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1143, allocations: 160.4 kB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1143, allocations: 384 / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1143, allocations: 4.375 kB / 430.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.1144, allocations: 45.81 kB / 430.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1144, allocations: 7.938 kB / 430.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.1145, allocations: 0 / 430.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1145, allocations: 0 / 430.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.1145, allocations: 7.984 kB / 430.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.1147, allocations: 161.7 kB / 430.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.1147, allocations: 26.58 kB / 430.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.1148, allocations: 16.89 kB / 430.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.1148, allocations: 3.984 kB / 430.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1148, allocations: 42.44 kB / 430.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.535e-06/0.1148, allocations: 3.984 kB / 430.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001489/0.115, allocations: 49.64 kB / 430.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.115, allocations: 51.41 kB / 430.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.1151, allocations: 101.8 kB / 430.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1151, allocations: 29.7 kB / 430.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.1151, allocations: 92.12 kB / 430.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.1152, allocations: 11.89 kB / 430.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.1152, allocations: 17.72 kB / 430.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1153, allocations: 310.8 kB / 431.1 MB, free: 344 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.1153, allocations: 11.98 kB / 431.2 MB, free: 332 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/0.1154, allocations: 21.66 kB / 431.2 MB, free: 304 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.595e-05/0.1154, allocations: 29.72 kB / 431.2 MB, free: 268 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1154, allocations: 0 / 431.2 MB, free: 268 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.703e-05/0.1155, allocations: 61.56 kB / 431.3 MB, free: 200 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1155, allocations: 4 kB / 431.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1155, allocations: 0 / 431.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1155, allocations: 0 / 431.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.191e-05/0.1156, allocations: 11.98 kB / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1156, allocations: 0 / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.1156, allocations: 11.94 kB / 431.3 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.1156, allocations: 0 / 431.3 MB, free: 172 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 7.338e-05/0.1157, allocations: 109.9 kB / 431.4 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.1157, allocations: 7.938 kB / 431.4 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.1158, allocations: 7.5 kB / 431.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1158, allocations: 0 / 431.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1158, allocations: 0 / 431.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1158, allocations: 0 / 431.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2024/0.3182, allocations: 155.1 kB / 431.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3182, allocations: 0.625 kB / 431.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.3183, allocations: 10 kB / 431.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3183, allocations: 4.547 kB / 431.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3183, allocations: 1.656 kB / 431.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3183, allocations: 1.344 kB / 431.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3183, allocations: 2.719 kB / 431.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.3185, allocations: 78.19 kB / 431.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.3185, allocations: 83.89 kB / 431.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3185, allocations: 0.7031 kB / 431.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.3186, allocations: 5.5 kB / 431.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.3186, allocations: 8.359 kB / 431.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.3186, allocations: 5.359 kB / 431.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.068e-05/0.3186, allocations: 82.08 kB / 431.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3186, allocations: 0 / 431.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003941/0.319, allocations: 55.86 kB / 431.9 MB, free: 10.7 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.0004569/0.3195, allocations: 0.6625 MB / 432.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.3196, allocations: 21.03 kB / 432.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3196, allocations: 0.6875 kB / 432.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.779e-05/0.3196, allocations: 7.844 kB / 432.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.3198, allocations: 5.312 kB / 432.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.3205, allocations: 1.189 MB / 433.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.672e-05/0.3206, allocations: 0.6782 MB / 434.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.3208, allocations: 8.344 kB / 434.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.3208, allocations: 10.73 kB / 434.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3208, allocations: 0 / 434.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.3471, allocations: 2.075 MB / 436.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.227, allocations: 11.73 kB / 436.6 MB, free: 7.973 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.556085188873112] Failed to read output from testmodel.py, exit status != 0: ['time', 'q', 'qd'] 8.302670882083476 8.323924688 8.206734403 Calling exit ...