Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002468/0.002468, allocations: 210.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 47.91 kB / 377.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2421, allocations: 53.37 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001608/0.2437, allocations: 0.5085 MB / 431.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.2457, allocations: 1.473 MB / 433.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.2457, allocations: 3.938 kB / 433.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.2458, allocations: 4 kB / 433.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006048/0.2464, allocations: 175.4 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.92e-05/0.2464, allocations: 0 / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.2464, allocations: 19.92 kB / 433.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.2465, allocations: 0 / 433.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.2465, allocations: 8 kB / 433.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.2466, allocations: 15.92 kB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.2466, allocations: 0 / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.247, allocations: 251.7 kB / 433.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.247, allocations: 0 / 433.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.247, allocations: 7.938 kB / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.2473, allocations: 179.9 kB / 433.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2473, allocations: 0 / 433.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2473, allocations: 0 / 433.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.2473, allocations: 0 / 433.7 MB, free: 4.023 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.0004267/0.2477, allocations: 297.9 kB / 434 MB, free: 3.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2478, allocations: 12.03 kB / 434 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.2478, allocations: 30.75 kB / 434.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.2478, allocations: 4.938 kB / 434.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2479, allocations: 102.5 kB / 434.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2479, allocations: 8.375 kB / 434.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.248, allocations: 384 / 434.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.64e-05/0.2481, allocations: 37.81 kB / 434.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2481, allocations: 0 / 434.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.2481, allocations: 0 / 434.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.2481, allocations: 0 / 434.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.688e-05/0.2481, allocations: 19.92 kB / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.2483, allocations: 128.8 kB / 434.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.2483, allocations: 38.59 kB / 434.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.2484, allocations: 8.859 kB / 434.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.2484, allocations: 0 / 434.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.2484, allocations: 34.5 kB / 434.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.2484, allocations: 0 / 434.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001383/0.2485, allocations: 57.67 kB / 434.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2486, allocations: 63.33 kB / 434.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.209e-05/0.2487, allocations: 93.86 kB / 434.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2487, allocations: 29.7 kB / 434.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.962e-05/0.2487, allocations: 84.14 kB / 434.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.2488, allocations: 15.89 kB / 434.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.2488, allocations: 17.72 kB / 434.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2489, allocations: 314.8 kB / 435.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.2489, allocations: 4 kB / 435.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.97e-05/0.249, allocations: 25.7 kB / 435.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.249, allocations: 29.59 kB / 435.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.249, allocations: 0 / 435.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.218e-05/0.2491, allocations: 65.56 kB / 435.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2491, allocations: 4 kB / 435.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2491, allocations: 4.156 kB / 435.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2491, allocations: 4 kB / 435.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.579e-05/0.2492, allocations: 8 kB / 435.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2492, allocations: 0 / 435.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.2492, allocations: 7.938 kB / 435.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.2493, allocations: 3.984 kB / 435.2 MB, free: 2.297 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.167e-05/0.2493, allocations: 109.8 kB / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.2493, allocations: 7.938 kB / 435.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.2494, allocations: 3.688 kB / 435.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2494, allocations: 0 / 435.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2494, allocations: 4 kB / 435.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.2494, allocations: 4 kB / 435.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.2495, allocations: 128.7 kB / 435.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2495, allocations: 0 / 435.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/0.2495, allocations: 7.938 kB / 435.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2495, allocations: 4 kB / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.2495, allocations: 0 / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2495, allocations: 0 / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2496, allocations: 3.938 kB / 435.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.2497, allocations: 77.53 kB / 435.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.2497, allocations: 12.06 kB / 435.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.2497, allocations: 4 kB / 435.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.2497, allocations: 0 / 435.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-06/0.2497, allocations: 0 / 435.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.2497, allocations: 4 kB / 435.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.162e-05/0.2498, allocations: 87.27 kB / 435.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2498, allocations: 0 / 435.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.25, allocations: 47.88 kB / 435.7 MB, free: 1.727 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.0005466/0.2506, allocations: 0.6785 MB / 436.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.476e-05/0.2507, allocations: 20.11 kB / 436.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2507, allocations: 4 kB / 436.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.62e-05/0.2507, allocations: 7.938 kB / 436.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.2508, allocations: 7.984 kB / 436.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.2519, allocations: 1.178 MB / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.639e-05/0.252, allocations: 63.34 kB / 437.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.504e-05/0.2521, allocations: 3.984 kB / 437.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.2521, allocations: 11.44 kB / 437.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2521, allocations: 0 / 437.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.283, allocations: 2.598 MB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.24, allocations: 11.86 kB / 440.3 MB, free: 13.13 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 13.785649313998874]