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.008377/0.008377, allocations: 102.6 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.001381, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.552/1.552, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001139/0.001139, allocations: 55.61 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1074, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002006/0.1095, allocations: 0.5233 MB / 373.7 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1115, allocations: 1.524 MB / 375.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.1116, allocations: 0 / 375.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.1116, allocations: 0 / 375.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006311/0.1123, allocations: 175.4 kB / 375.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.596e-05/0.1123, allocations: 8 kB / 375.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.748e-05/0.1124, allocations: 19.91 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.1124, allocations: 4 kB / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.1125, allocations: 7.938 kB / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.159e-05/0.1125, allocations: 4 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1126, allocations: 0 / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003568/0.1129, allocations: 243.7 kB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.1129, allocations: 0 / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.113, allocations: 3.938 kB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1133, allocations: 187.6 kB / 375.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1133, allocations: 0 / 375.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1133, allocations: 0 / 375.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1133, allocations: 0 / 375.9 MB, free: 14.62 MB / 318.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.0005574/0.1139, allocations: 355.6 kB / 376.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1139, allocations: 12.03 kB / 376.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.114, allocations: 4.844 kB / 376.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.1142, allocations: 164.4 kB / 376.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1142, allocations: 384 / 376.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1142, allocations: 384 / 376.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.658e-05/0.1143, allocations: 46 kB / 376.4 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1143, allocations: 0 / 376.4 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1144, allocations: 0 / 376.4 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1144, allocations: 4 kB / 376.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.887e-05/0.1144, allocations: 11.92 kB / 376.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.1146, allocations: 161.7 kB / 376.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.76e-05/0.1147, allocations: 30.58 kB / 376.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.1147, allocations: 16.94 kB / 376.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.1147, allocations: 0 / 376.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1148, allocations: 38.44 kB / 376.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1148, allocations: 0 / 376.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001526/0.1149, allocations: 49.62 kB / 376.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.115, allocations: 51.41 kB / 376.8 MB, free: 13.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.1151, allocations: 101.9 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1151, allocations: 25.7 kB / 376.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.1151, allocations: 92.12 kB / 377 MB, free: 13.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.1152, allocations: 15.75 kB / 377 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.1152, allocations: 21.66 kB / 377 MB, free: 13.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.1153, allocations: 310.8 kB / 377.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.1153, allocations: 11.98 kB / 377.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.1153, allocations: 13.72 kB / 377.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/0.1154, allocations: 42.02 kB / 377.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1154, allocations: 0 / 377.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.556e-05/0.1155, allocations: 49.69 kB / 377.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1155, allocations: 11.94 kB / 377.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1155, allocations: 0 / 377.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1155, allocations: 0 / 377.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.1156, allocations: 15.92 kB / 377.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1156, allocations: 0 / 377.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.1157, allocations: 7.906 kB / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1157, allocations: 4 kB / 377.5 MB, free: 12.75 MB / 318.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 6.296e-05/0.1157, allocations: 109.9 kB / 377.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.1158, allocations: 3.938 kB / 377.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.1158, allocations: 11.5 kB / 377.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1158, allocations: 0 / 377.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1158, allocations: 0 / 377.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1158, allocations: 0 / 377.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.98e-05/0.1159, allocations: 153.7 kB / 377.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1159, allocations: 0 / 377.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.116, allocations: 11.98 kB / 377.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.116, allocations: 7.938 kB / 377.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.116, allocations: 0 / 377.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.116, allocations: 0 / 377.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.116, allocations: 0 / 377.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.1161, allocations: 81.09 kB / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.1162, allocations: 88.89 kB / 378 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1162, allocations: 4.109 kB / 378 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.1162, allocations: 4 kB / 378 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.1163, allocations: 4.062 kB / 378 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1163, allocations: 4 kB / 378 MB, free: 12.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.751e-05/0.1163, allocations: 79.28 kB / 378 MB, free: 12.1 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1163, allocations: 0 / 378 MB, free: 12.1 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1166, allocations: 55.98 kB / 378.1 MB, free: 12.05 MB / 318.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.0002435/0.1168, allocations: 143.2 kB / 378.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.515e-05/0.1169, allocations: 23.92 kB / 378.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1169, allocations: 0 / 378.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/0.1169, allocations: 12.06 kB / 378.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.1171, allocations: 7.938 kB / 378.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.1175, allocations: 134.1 kB / 378.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.118, allocations: 0.6768 MB / 379.1 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.517e-05/0.1181, allocations: 4 kB / 379.1 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.1181, allocations: 7.438 kB / 379.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1181, allocations: 0 / 379.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of Templates: time 0.003441/0.1215, allocations: 1.078 MB / 380.2 MB, free: 9.902 MB / 318.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)