Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001839/0.001839, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002356/0.002356, allocations: 214.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.89 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2878, allocations: 53.4 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001737/0.2895, allocations: 0.5162 MB / 432.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.2917, allocations: 1.469 MB / 434.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.2918, allocations: 4 kB / 434.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.2918, allocations: 0 / 434.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000689/0.2925, allocations: 179.1 kB / 434.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.191e-05/0.2925, allocations: 0 / 434.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.2926, allocations: 23.86 kB / 434.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.2926, allocations: 0 / 434.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.2927, allocations: 12 kB / 434.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/0.2927, allocations: 11.92 kB / 434.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2927, allocations: 0 / 434.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.2931, allocations: 239.7 kB / 434.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.2931, allocations: 3.938 kB / 434.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.2932, allocations: 7.922 kB / 434.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.2935, allocations: 170.7 kB / 435 MB, free: 3.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2935, allocations: 0 / 435 MB, free: 3.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2935, allocations: 0 / 435 MB, free: 3.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2935, allocations: 3.938 kB / 435 MB, free: 3.906 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.0004485/0.2939, allocations: 297.9 kB / 435.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.294, allocations: 15.98 kB / 435.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.294, allocations: 0.9375 kB / 435.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.2942, allocations: 110.5 kB / 435.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2942, allocations: 384 / 435.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.2942, allocations: 8.359 kB / 435.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.513e-05/0.2943, allocations: 38.02 kB / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.2943, allocations: 0 / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2943, allocations: 0 / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2943, allocations: 0 / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.474e-05/0.2944, allocations: 7.984 kB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.2945, allocations: 113.3 kB / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.014e-05/0.2946, allocations: 34.55 kB / 435.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.2946, allocations: 12.86 kB / 435.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.2946, allocations: 0 / 435.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.2947, allocations: 34.56 kB / 435.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.2947, allocations: 0 / 435.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001565/0.2948, allocations: 53.66 kB / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.2949, allocations: 55.39 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.295, allocations: 102.2 kB / 435.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.295, allocations: 25.7 kB / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.295, allocations: 84.14 kB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.2951, allocations: 15.89 kB / 436 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.2951, allocations: 17.72 kB / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2953, allocations: 314.8 kB / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.2953, allocations: 4 kB / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.2953, allocations: 21.7 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.737e-05/0.2954, allocations: 37.69 kB / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2954, allocations: 0 / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.597e-05/0.2955, allocations: 49.69 kB / 436.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2955, allocations: 6.812 kB / 436.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2955, allocations: 11.97 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2955, allocations: 0 / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/0.2956, allocations: 11.94 kB / 436.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2956, allocations: 0 / 436.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.2956, allocations: 7.922 kB / 436.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.2956, allocations: 11.94 kB / 436.5 MB, free: 2.254 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 7.987e-05/0.2957, allocations: 105.8 kB / 436.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.2957, allocations: 3.953 kB / 436.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.2958, allocations: 15.62 kB / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2958, allocations: 0 / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2958, allocations: 4 kB / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2958, allocations: 0 / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.2959, allocations: 105.3 kB / 436.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2959, allocations: 0 / 436.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.296, allocations: 8 kB / 436.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.296, allocations: 128 / 436.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.296, allocations: 4 kB / 436.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.296, allocations: 3.938 kB / 436.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.296, allocations: 0 / 436.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.2961, allocations: 85.05 kB / 436.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-06/0.2961, allocations: 3.938 kB / 436.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.2962, allocations: 4.062 kB / 436.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/0.2962, allocations: 11.97 kB / 436.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.2962, allocations: 0 / 436.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.2962, allocations: 0 / 436.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.638e-05/0.2963, allocations: 83.27 kB / 436.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2963, allocations: 0 / 436.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.2965, allocations: 55.88 kB / 437 MB, free: 1.707 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.0002732/0.2968, allocations: 147.1 kB / 437.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.2969, allocations: 23.92 kB / 437.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2969, allocations: 4.062 kB / 437.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.2969, allocations: 4 kB / 437.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.2971, allocations: 4 kB / 437.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.2974, allocations: 159.9 kB / 437.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.438e-05/0.2974, allocations: 63.77 kB / 437.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.2974, allocations: 7.438 kB / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2974, allocations: 3.938 kB / 437.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of Templates: time 0.003184/0.3006, allocations: 1.212 MB / 438.6 MB, free: 24 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.168348378036171]