Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 55.88 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2662, allocations: 46.64 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002273/0.2685, allocations: 0.5276 MB / 325.8 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.2708, allocations: 1.512 MB / 327.3 MB, free: 248 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.45e-05/0.2709, allocations: 0 / 327.3 MB, free: 248 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.2709, allocations: 0 / 327.3 MB, free: 248 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007599/0.2717, allocations: 176.9 kB / 327.5 MB, free: 136 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.723e-05/0.2717, allocations: 2.25 kB / 327.5 MB, free: 136 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.759e-05/0.2718, allocations: 18.8 kB / 327.5 MB, free: 124 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.2719, allocations: 1.812 kB / 327.5 MB, free: 124 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.2719, allocations: 7.531 kB / 327.6 MB, free: 120 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.272, allocations: 6.312 kB / 327.6 MB, free: 116 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.272, allocations: 1.156 kB / 327.6 MB, free: 116 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.2725, allocations: 250.7 kB / 327.8 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.2726, allocations: 5.531 kB / 327.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.2726, allocations: 6.656 kB / 327.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.273, allocations: 171.9 kB / 328 MB, free: 15.87 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.273, allocations: 1.469 kB / 328 MB, free: 15.87 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.273, allocations: 3.938 kB / 328 MB, free: 15.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.273, allocations: 3.938 kB / 328 MB, free: 15.86 MB / 270.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.0005577/0.2736, allocations: 361.5 kB / 328.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2737, allocations: 10.34 kB / 328.4 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.2737, allocations: 6.406 kB / 328.4 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.2739, allocations: 165.8 kB / 328.5 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2739, allocations: 1.844 kB / 328.5 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.274, allocations: 1.844 kB / 328.5 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.2741, allocations: 41.94 kB / 328.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2741, allocations: 0 / 328.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.2741, allocations: 0.9062 kB / 328.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2742, allocations: 0 / 328.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.2742, allocations: 9.641 kB / 328.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.2745, allocations: 163.2 kB / 328.7 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.713e-05/0.2746, allocations: 28.8 kB / 328.8 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.2746, allocations: 13.2 kB / 328.8 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.2747, allocations: 0 / 328.8 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.2747, allocations: 39.89 kB / 328.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.2747, allocations: 0 / 328.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002447/0.275, allocations: 54.03 kB / 328.9 MB, free: 14.89 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.275, allocations: 56.56 kB / 328.9 MB, free: 14.83 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.2752, allocations: 103.6 kB / 329 MB, free: 14.72 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2752, allocations: 25.7 kB / 329.1 MB, free: 14.69 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.2753, allocations: 81.27 kB / 329.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.2753, allocations: 14.14 kB / 329.1 MB, free: 14.6 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.2754, allocations: 13.09 kB / 329.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.2756, allocations: 316.3 kB / 329.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.921e-05/0.2756, allocations: 6.828 kB / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.2757, allocations: 24.72 kB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.096e-05/0.2757, allocations: 30.47 kB / 329.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2758, allocations: 1.125 kB / 329.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001285/0.2759, allocations: 53.72 kB / 329.6 MB, free: 14.17 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.2759, allocations: 9.75 kB / 329.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2759, allocations: 0 / 329.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.276, allocations: 5.406 kB / 329.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.2761, allocations: 19.7 kB / 329.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2761, allocations: 0 / 329.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.2762, allocations: 1.312 kB / 329.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2762, allocations: 1.375 kB / 329.6 MB, free: 14.15 MB / 270.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.0001192/0.2763, allocations: 116.6 kB / 329.7 MB, free: 14.03 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.2763, allocations: 9.156 kB / 329.7 MB, free: 14.02 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.2764, allocations: 3.5 kB / 329.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2764, allocations: 1.625 kB / 329.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2764, allocations: 0 / 329.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2764, allocations: 4 kB / 329.7 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.2766, allocations: 154.8 kB / 329.9 MB, free: 13.81 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2766, allocations: 0 / 329.9 MB, free: 13.81 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.162e-05/0.2767, allocations: 10.58 kB / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2767, allocations: 3.938 kB / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2767, allocations: 1.719 kB / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2768, allocations: 4.125 kB / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2768, allocations: 0 / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.277, allocations: 86.12 kB / 330 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.2771, allocations: 82.23 kB / 330.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.2771, allocations: 0 / 330.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.791e-05/0.2771, allocations: 0.9688 kB / 330.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.2772, allocations: 9.047 kB / 330.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.2772, allocations: 1.312 kB / 330.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.54e-05/0.2773, allocations: 78.66 kB / 330.2 MB, free: 13.53 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2773, allocations: 1.375 kB / 330.2 MB, free: 13.53 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000493/0.2778, allocations: 51.7 kB / 330.2 MB, free: 13.52 MB / 270.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.0003666/0.2782, allocations: 155.8 kB / 330.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.2783, allocations: 25.53 kB / 330.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2783, allocations: 0 / 330.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 2.315e-05/0.2783, allocations: 5.906 kB / 330.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.2786, allocations: 5.812 kB / 330.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.279, allocations: 134.1 kB / 330.5 MB, free: 13.26 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.2793, allocations: 0.6873 MB / 331.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.2794, allocations: 2.219 kB / 331.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.2795, allocations: 9.75 kB / 331.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2795, allocations: 0 / 331.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of Templates: time 0.004679/0.2842, allocations: 1.083 MB / 332.3 MB, free: 11.98 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1)