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.002024/0.002024, allocations: 111.1 kB / 20.44 MB, free: 1.055 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.002418/0.002418, allocations: 216.9 kB / 23.73 MB, free: 4.156 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.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.003061/0.003061, allocations: 67.91 kB / 377.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.292, allocations: 53.39 MB / 431.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001875/0.2939, allocations: 0.5201 MB / 431.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.2962, allocations: 1.473 MB / 433.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.2962, allocations: 0 / 433.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.2962, allocations: 0 / 433.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006881/0.2969, allocations: 179.4 kB / 433.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.459e-05/0.2969, allocations: 3.984 kB / 433.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.297, allocations: 11.94 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.297, allocations: 0 / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.2971, allocations: 15.92 kB / 433.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.2972, allocations: 7.984 kB / 433.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.2972, allocations: 0 / 433.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.2976, allocations: 239.7 kB / 433.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.2976, allocations: 7.938 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.2976, allocations: 0 / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.2979, allocations: 177.3 kB / 433.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2979, allocations: 0 / 433.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2979, allocations: 0 / 433.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.2979, allocations: 0 / 433.8 MB, free: 3.793 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.0004423/0.2984, allocations: 293.9 kB / 434 MB, free: 3.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.2984, allocations: 15.98 kB / 434.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.2984, allocations: 34.69 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.2985, allocations: 4.938 kB / 434.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2986, allocations: 114.5 kB / 434.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.2986, allocations: 384 / 434.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.2986, allocations: 4.375 kB / 434.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.353e-05/0.2987, allocations: 41.81 kB / 434.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2987, allocations: 0 / 434.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.2987, allocations: 0 / 434.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2987, allocations: 0 / 434.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.223e-05/0.2988, allocations: 7.984 kB / 434.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.2989, allocations: 136.8 kB / 434.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.058e-05/0.299, allocations: 34.55 kB / 434.4 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.299, allocations: 20.84 kB / 434.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.299, allocations: 0 / 434.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2991, allocations: 38.5 kB / 434.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.2991, allocations: 0 / 434.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001383/0.2992, allocations: 49.62 kB / 434.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.2992, allocations: 51.41 kB / 434.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/0.2993, allocations: 109.8 kB / 434.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.2994, allocations: 25.7 kB / 434.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.2994, allocations: 84.12 kB / 434.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.2994, allocations: 15.91 kB / 434.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.2995, allocations: 13.72 kB / 434.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2996, allocations: 322.8 kB / 435.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.2996, allocations: 4 kB / 435.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.2997, allocations: 17.72 kB / 435.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.958e-05/0.2997, allocations: 33.64 kB / 435.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2997, allocations: 0 / 435.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.538e-05/0.2998, allocations: 53.64 kB / 435.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2998, allocations: 10.81 kB / 435.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2998, allocations: 3.984 kB / 435.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2998, allocations: 0 / 435.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.2999, allocations: 15.97 kB / 435.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2999, allocations: 0 / 435.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.2999, allocations: 3.938 kB / 435.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.2999, allocations: 4 kB / 435.3 MB, free: 2.059 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.04e-05/0.3, allocations: 110.5 kB / 435.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.3, allocations: 11.89 kB / 435.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.3, allocations: 3.688 kB / 435.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3, allocations: 0 / 435.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.3001, allocations: 3.984 kB / 435.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3001, allocations: 0 / 435.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.3002, allocations: 128.8 kB / 435.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3002, allocations: 0 / 435.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.3002, allocations: 11.92 kB / 435.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3002, allocations: 0 / 435.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3002, allocations: 4.422 kB / 435.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3002, allocations: 3.938 kB / 435.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3002, allocations: 0 / 435.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.3004, allocations: 81.05 kB / 435.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.3004, allocations: 7.969 kB / 435.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.3004, allocations: 4.125 kB / 435.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.675e-05/0.3004, allocations: 0 / 435.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.3004, allocations: 12.05 kB / 435.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.3004, allocations: 0 / 435.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.726e-05/0.3005, allocations: 79.28 kB / 435.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3005, allocations: 4 kB / 435.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3008, allocations: 55.86 kB / 435.8 MB, free: 1.473 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.0006058/0.3014, allocations: 0.6707 MB / 436.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.405e-05/0.3014, allocations: 19.98 kB / 436.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3014, allocations: 0 / 436.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.3015, allocations: 4 kB / 436.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.3016, allocations: 7.359 kB / 436.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.3028, allocations: 1.186 MB / 437.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.849e-05/0.3028, allocations: 63.34 kB / 437.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.527e-05/0.3029, allocations: 4 kB / 437.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.3029, allocations: 7.438 kB / 437.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3029, allocations: 0 / 437.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.3361, allocations: 2.575 MB / 440.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.53, allocations: 10.27 kB / 440.3 MB, free: 12.89 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.139378111809492]