Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001866/0.001866, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002319/0.002319, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 51.92 kB / 371.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2895, allocations: 52.17 MB / 423.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.002176/0.2917, allocations: 0.5425 MB / 424.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.2944, allocations: 1.406 MB / 425.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.2945, allocations: 0 / 425.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.2945, allocations: 4 kB / 425.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007824/0.2953, allocations: 171.5 kB / 425.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.777e-05/0.2953, allocations: 0 / 425.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.153e-05/0.2954, allocations: 23.91 kB / 426 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.15e-05/0.2955, allocations: 4 kB / 426 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.2955, allocations: 4 kB / 426 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.2956, allocations: 15.92 kB / 426 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.2956, allocations: 3.938 kB / 426 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.2961, allocations: 223.8 kB / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.2961, allocations: 0 / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.2961, allocations: 7.938 kB / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.2965, allocations: 185.2 kB / 426.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2965, allocations: 0 / 426.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.2965, allocations: 0 / 426.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.2965, allocations: 0 / 426.4 MB, free: 11.93 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.0005611/0.297, allocations: 289.1 kB / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2971, allocations: 16.03 kB / 426.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.2971, allocations: 0.9375 kB / 426.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.2973, allocations: 110.5 kB / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.2973, allocations: 384 / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.2973, allocations: 4.375 kB / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.59e-05/0.2974, allocations: 42 kB / 426.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2974, allocations: 0 / 426.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2975, allocations: 0 / 426.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2975, allocations: 0 / 426.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.2975, allocations: 19.86 kB / 426.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.2978, allocations: 101.3 kB / 427 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.568e-05/0.2979, allocations: 42.59 kB / 427 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.2979, allocations: 8.859 kB / 427 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.2979, allocations: 0 / 427 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.298, allocations: 34.56 kB / 427 MB, free: 11.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.298, allocations: 0 / 427 MB, free: 11.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001714/0.2981, allocations: 53.66 kB / 427.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.2982, allocations: 51.41 kB / 427.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2983, allocations: 101.8 kB / 427.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.2983, allocations: 29.7 kB / 427.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.2984, allocations: 84.14 kB / 427.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.2985, allocations: 15.84 kB / 427.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.2985, allocations: 17.72 kB / 427.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.2987, allocations: 322.8 kB / 427.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.2987, allocations: 11.94 kB / 427.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.2988, allocations: 13.72 kB / 427.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.974e-05/0.2988, allocations: 37.64 kB / 427.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2988, allocations: 0 / 427.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001097/0.2989, allocations: 53.64 kB / 427.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2989, allocations: 4 kB / 427.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.299, allocations: 12.09 kB / 427.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.299, allocations: 3.938 kB / 427.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.2991, allocations: 12 kB / 427.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2991, allocations: 0 / 427.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.2991, allocations: 4 kB / 427.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2991, allocations: 0 / 427.9 MB, free: 10.29 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 0.0001038/0.2992, allocations: 109.8 kB / 428 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.2992, allocations: 0 / 428 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.2993, allocations: 19.61 kB / 428 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2993, allocations: 0 / 428 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2993, allocations: 0 / 428 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2993, allocations: 4 kB / 428 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.2994, allocations: 97.33 kB / 428.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2994, allocations: 0 / 428.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.875e-05/0.2995, allocations: 15.98 kB / 428.1 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2995, allocations: 0 / 428.1 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2995, allocations: 0 / 428.1 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.2995, allocations: 3.938 kB / 428.1 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2995, allocations: 0 / 428.1 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.2996, allocations: 81.44 kB / 428.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.2996, allocations: 4 kB / 428.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.2997, allocations: 4 kB / 428.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.2997, allocations: 7.938 kB / 428.2 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.2997, allocations: 8.062 kB / 428.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2997, allocations: 3.984 kB / 428.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.952e-05/0.2998, allocations: 79.28 kB / 428.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2998, allocations: 0 / 428.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.3001, allocations: 55.86 kB / 428.3 MB, free: 9.738 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.000296/0.3004, allocations: 147 kB / 428.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.3005, allocations: 23.92 kB / 428.5 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3005, allocations: 64 / 428.5 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.3005, allocations: 8 kB / 428.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.3006, allocations: 8 kB / 428.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.301, allocations: 159.8 kB / 428.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.001e-05/0.3011, allocations: 67.2 kB / 428.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.3011, allocations: 11.44 kB / 428.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3011, allocations: 0 / 428.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of Templates: time 0.003079/0.3042, allocations: 1.159 MB / 429.9 MB, free: 8.098 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.231743697077036]