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.001807/0.001807, allocations: 108.6 kB / 19.8 MB, free: 2.5 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.002597/0.002597, allocations: 215 kB / 22.99 MB, free: 5.582 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.458/1.458, allocations: 230.5 MB / 256.5 MB, free: 8.176 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.001895/0.001895, allocations: 67.89 kB / 376.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2439, allocations: 53.3 MB / 429.5 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001769/0.2457, allocations: 0.5231 MB / 430 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.2481, allocations: 1.567 MB / 431.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.2481, allocations: 0 / 431.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.2481, allocations: 3.938 kB / 431.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007291/0.2489, allocations: 175.4 kB / 431.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.278e-05/0.2489, allocations: 0 / 431.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.763e-05/0.2489, allocations: 23.86 kB / 431.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.249, allocations: 0 / 431.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.585e-05/0.2491, allocations: 11.94 kB / 431.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.2491, allocations: 8 kB / 431.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.2491, allocations: 0 / 431.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.2496, allocations: 251.7 kB / 432.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.2496, allocations: 7.938 kB / 432.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.2496, allocations: 3.984 kB / 432.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.2499, allocations: 172 kB / 432.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2499, allocations: 0 / 432.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2499, allocations: 0 / 432.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2499, allocations: 0 / 432.2 MB, free: 4.691 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.0005083/0.2505, allocations: 377.9 kB / 432.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2505, allocations: 8.031 kB / 432.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.2505, allocations: 34.69 kB / 432.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.2506, allocations: 4.938 kB / 432.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.2507, allocations: 164.4 kB / 432.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2507, allocations: 4.375 kB / 432.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.2508, allocations: 4.375 kB / 432.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.691e-05/0.2509, allocations: 45.77 kB / 432.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2509, allocations: 7.984 kB / 432.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2509, allocations: 0 / 432.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2509, allocations: 0 / 432.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.606e-05/0.2509, allocations: 12 kB / 432.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.2511, allocations: 153.7 kB / 433 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.605e-05/0.2512, allocations: 34.55 kB / 433.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.2512, allocations: 8.859 kB / 433.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.2512, allocations: 0 / 433.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.2512, allocations: 42.5 kB / 433.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.2512, allocations: 0 / 433.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001504/0.2514, allocations: 53.67 kB / 433.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.2514, allocations: 51.41 kB / 433.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.2515, allocations: 110 kB / 433.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2515, allocations: 25.7 kB / 433.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.2516, allocations: 84.14 kB / 433.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.2516, allocations: 7.906 kB / 433.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.2516, allocations: 21.72 kB / 433.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2518, allocations: 314.8 kB / 433.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.2518, allocations: 8 kB / 433.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-05/0.2518, allocations: 17.72 kB / 433.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.115e-05/0.2519, allocations: 33.64 kB / 433.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2519, allocations: 0 / 433.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.352e-05/0.252, allocations: 65.56 kB / 433.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.252, allocations: 4 kB / 433.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.252, allocations: 0 / 433.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.252, allocations: 0 / 433.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.2521, allocations: 15.94 kB / 433.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2521, allocations: 3.984 kB / 433.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.2521, allocations: 7.938 kB / 433.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.2521, allocations: 0 / 433.9 MB, free: 2.762 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.319e-05/0.2522, allocations: 109.8 kB / 434 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.2522, allocations: 7.969 kB / 434.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.2523, allocations: 11.48 kB / 434.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2523, allocations: 0 / 434.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2523, allocations: 0 / 434.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2523, allocations: 7.938 kB / 434.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.2524, allocations: 161.6 kB / 434.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2524, allocations: 0 / 434.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.2525, allocations: 7.938 kB / 434.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2525, allocations: 0 / 434.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.2525, allocations: 4 kB / 434.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2525, allocations: 0 / 434.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2525, allocations: 4.125 kB / 434.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.2526, allocations: 85.05 kB / 434.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.2527, allocations: 81.05 kB / 434.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2527, allocations: 4.031 kB / 434.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.2527, allocations: 0 / 434.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.2527, allocations: 0 / 434.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.2527, allocations: 0 / 434.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.282e-05/0.2528, allocations: 87.33 kB / 434.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2528, allocations: 0 / 434.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.2531, allocations: 55.88 kB / 434.5 MB, free: 2.043 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.0006263/0.2537, allocations: 0.6712 MB / 435.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.2538, allocations: 15.98 kB / 435.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2538, allocations: 8.125 kB / 435.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.648e-05/0.2539, allocations: 8 kB / 435.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.254, allocations: 192 / 435.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2552, allocations: 1.198 MB / 436.5 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.2555, allocations: 0.6768 MB / 437.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.2556, allocations: 7.984 kB / 437.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.2556, allocations: 19.44 kB / 437.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2556, allocations: 0 / 437.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.2806, allocations: 2.043 MB / 439.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.903, allocations: 0 / 439.2 MB, free: 13.33 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 --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.175760093989084] Failed to read output from testmodel.py, exit status != 0: ['time', 'q', 'qd'] 7.967735409998568 7.982868997 7.729463402 Calling exit ...