Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 104.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] 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="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") [Timeout 660] "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.00263/0.00263, allocations: 58.58 kB / 347.7 MB, free: 9.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3046, allocations: 49.16 MB / 396.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001707/0.3063, allocations: 0.5319 MB / 397.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.3081, allocations: 1.531 MB / 398.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.3081, allocations: 0 / 398.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.3081, allocations: 0 / 398.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005947/0.3087, allocations: 181.6 kB / 399.1 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.32e-05/0.3088, allocations: 5.984 kB / 399.1 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.216e-05/0.3088, allocations: 12.91 kB / 399.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.3089, allocations: 2.875 kB / 399.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.3089, allocations: 12.94 kB / 399.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.309, allocations: 7.953 kB / 399.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.309, allocations: 1.094 kB / 399.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/0.3094, allocations: 246 kB / 399.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.3094, allocations: 6 kB / 399.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.3094, allocations: 5.344 kB / 399.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.3097, allocations: 177.3 kB / 399.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3097, allocations: 0 / 399.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3097, allocations: 1.344 kB / 399.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.3097, allocations: 0.5625 kB / 399.5 MB, free: 7.883 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.0003425/0.31, allocations: 285.1 kB / 399.8 MB, free: 7.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3101, allocations: 17.95 kB / 399.8 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.3101, allocations: 2.25 kB / 399.8 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.658e-05/0.3102, allocations: 107.1 kB / 399.9 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3102, allocations: 5.562 kB / 399.9 MB, free: 7.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3102, allocations: 6.281 kB / 399.9 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.974e-05/0.3103, allocations: 40.62 kB / 400 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3103, allocations: 1.531 kB / 400 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3103, allocations: 0.75 kB / 400 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3103, allocations: 0 / 400 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.447e-05/0.3104, allocations: 11.08 kB / 400 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.3105, allocations: 137.5 kB / 400.1 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.626e-05/0.3106, allocations: 32.12 kB / 400.2 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.3106, allocations: 8.969 kB / 400.2 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.3106, allocations: 0 / 400.2 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.3106, allocations: 36.28 kB / 400.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.3106, allocations: 0 / 400.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001297/0.3108, allocations: 54.05 kB / 400.3 MB, free: 7.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.3108, allocations: 53.47 kB / 400.3 MB, free: 7.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.374e-05/0.3109, allocations: 102.3 kB / 400.4 MB, free: 6.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.3109, allocations: 30.25 kB / 400.4 MB, free: 6.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.772e-05/0.3109, allocations: 84.14 kB / 400.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.3109, allocations: 15.72 kB / 400.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.3109, allocations: 18.91 kB / 400.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.046e-05/0.311, allocations: 316.1 kB / 400.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.311, allocations: 16.62 kB / 400.9 MB, free: 6.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.311, allocations: 18.34 kB / 400.9 MB, free: 6.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.906e-05/0.311, allocations: 33.73 kB / 400.9 MB, free: 6.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3111, allocations: 0 / 400.9 MB, free: 6.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.248e-05/0.3111, allocations: 54.12 kB / 401 MB, free: 6.398 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.3111, allocations: 9.406 kB / 401 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3111, allocations: 0 / 401 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3112, allocations: 5.562 kB / 401 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.3112, allocations: 15.73 kB / 401 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3112, allocations: 1.094 kB / 401 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.3113, allocations: 1.719 kB / 401 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.3113, allocations: 1.438 kB / 401 MB, free: 6.383 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 4.192e-05/0.3113, allocations: 109 kB / 401.1 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.3113, allocations: 9.578 kB / 401.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.3113, allocations: 8.484 kB / 401.1 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3113, allocations: 4.906 kB / 401.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3113, allocations: 4.516 kB / 401.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3113, allocations: 1.406 kB / 401.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.737e-05/0.3114, allocations: 126 kB / 401.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3114, allocations: 0 / 401.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.3115, allocations: 7.172 kB / 401.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3115, allocations: 5.312 kB / 401.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3115, allocations: 0 / 401.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3115, allocations: 0.7969 kB / 401.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3115, allocations: 1.531 kB / 401.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.615e-05/0.3116, allocations: 82.64 kB / 401.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.3116, allocations: 9.797 kB / 401.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.3116, allocations: 1.562 kB / 401.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.3116, allocations: 0.7969 kB / 401.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.3116, allocations: 2.172 kB / 401.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.3116, allocations: 128 / 401.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.354e-05/0.3116, allocations: 85.52 kB / 401.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3116, allocations: 0 / 401.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.3119, allocations: 52.27 kB / 401.5 MB, free: 5.91 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.0002084/0.3121, allocations: 150.9 kB / 401.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.351e-05/0.3122, allocations: 21.8 kB / 401.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3122, allocations: 0 / 401.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/0.3122, allocations: 14.98 kB / 401.7 MB, free: 5.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.3123, allocations: 1.344 kB / 401.7 MB, free: 5.785 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002156/0.3126, allocations: 130.7 kB / 401.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.552e-05/0.3127, allocations: 0.6823 MB / 402.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.174e-05/0.3127, allocations: 8.359 kB / 402.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.3127, allocations: 9.5 kB / 402.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3127, allocations: 0 / 402.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of Templates: time 0.004028/0.3167, allocations: 1.093 MB / 403.6 MB, free: 4.836 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.618233007378876]