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.001843/0.001843, allocations: 114 kB / 20.43 MB, free: 1.457 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.001586/0.001586, allocations: 214 kB / 23.74 MB, free: 4.672 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 8.004 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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 71.89 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2848, allocations: 53.4 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001668/0.2865, allocations: 0.5162 MB / 431.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2886, allocations: 1.57 MB / 433.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.2886, allocations: 0 / 433.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.2886, allocations: 0 / 433.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006218/0.2893, allocations: 179.4 kB / 433.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.058e-05/0.2893, allocations: 0 / 433.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.572e-05/0.2893, allocations: 19.92 kB / 433.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.2894, allocations: 0 / 433.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.048e-05/0.2894, allocations: 11.94 kB / 433.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.2895, allocations: 15.91 kB / 433.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2895, allocations: 0 / 433.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.2899, allocations: 255.6 kB / 433.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.2899, allocations: 3.984 kB / 433.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.29, allocations: 7.938 kB / 433.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.2903, allocations: 164.1 kB / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2903, allocations: 0 / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2903, allocations: 0 / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.2903, allocations: 4 kB / 433.9 MB, free: 3.938 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.0004734/0.2907, allocations: 297.8 kB / 434.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.2908, allocations: 15.97 kB / 434.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.2908, allocations: 38.75 kB / 434.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.2909, allocations: 4.938 kB / 434.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.291, allocations: 110.5 kB / 434.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.291, allocations: 384 / 434.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.291, allocations: 384 / 434.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.947e-05/0.2911, allocations: 37.83 kB / 434.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2911, allocations: 0 / 434.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.2911, allocations: 4 kB / 434.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2911, allocations: 0 / 434.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.39e-05/0.2912, allocations: 11.92 kB / 434.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.2913, allocations: 132.8 kB / 434.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.868e-05/0.2914, allocations: 30.61 kB / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.2915, allocations: 12.86 kB / 434.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.2915, allocations: 0 / 434.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.2915, allocations: 34.5 kB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.2915, allocations: 0 / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001572/0.2917, allocations: 57.67 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2917, allocations: 55.41 kB / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2918, allocations: 102 kB / 434.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2918, allocations: 25.7 kB / 434.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.2919, allocations: 80.14 kB / 434.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.2919, allocations: 19.89 kB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.2919, allocations: 17.72 kB / 435 MB, free: 2.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2921, allocations: 314.8 kB / 435.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.2921, allocations: 12 kB / 435.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.2921, allocations: 13.72 kB / 435.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/0.2922, allocations: 41.81 kB / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2922, allocations: 0 / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.583e-05/0.2923, allocations: 49.64 kB / 435.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2923, allocations: 14.64 kB / 435.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2923, allocations: 0 / 435.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2923, allocations: 7.969 kB / 435.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.2924, allocations: 11.94 kB / 435.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2924, allocations: 3.984 kB / 435.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.2924, allocations: 7.938 kB / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.2925, allocations: 7.938 kB / 435.5 MB, free: 2.195 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 8.492e-05/0.2925, allocations: 105.8 kB / 435.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.2925, allocations: 3.938 kB / 435.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.2926, allocations: 11.69 kB / 435.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2926, allocations: 7.984 kB / 435.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2926, allocations: 0 / 435.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2926, allocations: 0 / 435.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.2927, allocations: 128.7 kB / 435.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2927, allocations: 4 kB / 435.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.2928, allocations: 7.938 kB / 435.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2928, allocations: 0 / 435.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2928, allocations: 4.125 kB / 435.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2928, allocations: 0 / 435.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2928, allocations: 4 kB / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.2929, allocations: 77.06 kB / 435.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.2929, allocations: 11.92 kB / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.2929, allocations: 0 / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.753e-05/0.293, allocations: 0 / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.293, allocations: 4.031 kB / 435.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.293, allocations: 0 / 435.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.485e-05/0.293, allocations: 83.27 kB / 435.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.293, allocations: 0 / 435.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.2933, allocations: 51.88 kB / 435.9 MB, free: 1.625 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.0005944/0.2939, allocations: 0.6709 MB / 436.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.849e-05/0.294, allocations: 19.98 kB / 436.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.294, allocations: 0 / 436.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.294, allocations: 7.938 kB / 436.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.2942, allocations: 8.125 kB / 436.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2954, allocations: 1.191 MB / 437.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.2957, allocations: 0.6807 MB / 438.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.744e-05/0.2958, allocations: 4 kB / 438.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.2958, allocations: 15.42 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2958, allocations: 0 / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.3267, allocations: 2.182 MB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.9, allocations: 15.91 kB / 440.7 MB, free: 12.79 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.csv","/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: 13.509051385997736]