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.0008654/0.0008654, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001076/0.001076, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8834/0.8834, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.443e-06/1.443e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.346e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001351/0.001375, allocations: 0.5228 MB / 325.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.002856, allocations: 1.465 MB / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.002889, allocations: 4 kB / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.002904, allocations: 0 / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005886/0.003493, allocations: 183.2 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.341e-05/0.003516, allocations: 4 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.003572, allocations: 15.92 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.003613, allocations: 11.98 kB / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.767e-05/0.00367, allocations: 8 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.00372, allocations: 11.98 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.003732, allocations: 0 / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.004017, allocations: 231.6 kB / 327 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.004033, allocations: 11.97 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.004121, allocations: 4 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.004371, allocations: 211.6 kB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.004375, allocations: 0 / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.004377, allocations: 3.938 kB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.004382, allocations: 0 / 327.2 MB, free: 13.25 MB / 298.7 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.0003546/0.004736, allocations: 293.2 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.004775, allocations: 8.031 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.662e-05/0.004801, allocations: 30.75 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.004825, allocations: 8.938 kB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.337e-05/0.004918, allocations: 113.7 kB / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.004928, allocations: 4.375 kB / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.004944, allocations: 384 / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.446e-05/0.005019, allocations: 38.19 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.005028, allocations: 192 / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.005036, allocations: 4.125 kB / 327.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005041, allocations: 4 kB / 327.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.156e-05/0.005072, allocations: 12 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.005201, allocations: 128.7 kB / 327.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.665e-05/0.005258, allocations: 34.61 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.005277, allocations: 8.859 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.005285, allocations: 3.938 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.005303, allocations: 30.56 kB / 327.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.12e-07/0.005304, allocations: 0 / 327.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001211/0.005425, allocations: 49.72 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.005453, allocations: 59.34 kB / 328.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.005519, allocations: 101.8 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.005528, allocations: 29.7 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.005556, allocations: 88.14 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.005583, allocations: 11.89 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.00561, allocations: 17.72 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.005685, allocations: 314.8 kB / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.0057, allocations: 11.94 kB / 328.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-05/0.005722, allocations: 17.72 kB / 328.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.005761, allocations: 34.06 kB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.005763, allocations: 4 kB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.897e-05/0.005822, allocations: 57.58 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.005835, allocations: 12.02 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.00584, allocations: 0 / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.005853, allocations: 7.938 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.005937, allocations: 4 kB / 328.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.005944, allocations: 7.984 kB / 328.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.451e-05/0.005958, allocations: 0 / 328.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.005962, allocations: 0 / 328.8 MB, free: 11.53 MB / 298.7 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 5.038e-05/0.006012, allocations: 109.8 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-06/0.006019, allocations: 3.953 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.006043, allocations: 11.67 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.006046, allocations: 11.94 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.00605, allocations: 0 / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.006053, allocations: 3.938 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.666e-05/0.006119, allocations: 124.7 kB / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.00612, allocations: 0 / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.006166, allocations: 11.98 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.006168, allocations: 0 / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.006176, allocations: 4.125 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.006178, allocations: 3.938 kB / 329 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006178, allocations: 0 / 329 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.6e-05/0.006274, allocations: 73.12 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-06/0.006281, allocations: 8.062 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.006291, allocations: 3.984 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-06/0.006301, allocations: 3.938 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.006312, allocations: 4.031 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.006314, allocations: 0 / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.805e-05/0.006342, allocations: 79.28 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006342, allocations: 3.938 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.006532, allocations: 55.86 kB / 329.3 MB, free: 10.95 MB / 298.7 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.0003787/0.00691, allocations: 0.6709 MB / 329.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.271e-05/0.006983, allocations: 31.92 kB / 330 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006985, allocations: 3.938 kB / 330 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.724e-06/0.006992, allocations: 4 kB / 330 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.007099, allocations: 7.938 kB / 330 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007157/0.007815, allocations: 1.179 MB / 331.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.007855, allocations: 63.34 kB / 331.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.216e-05/0.007927, allocations: 0 / 331.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.007957, allocations: 20.48 kB / 331.2 MB, free: 8.828 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007958, allocations: 4.062 kB / 331.2 MB, free: 8.824 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.02438, allocations: 2.707 MB / 334 MB, free: 6.227 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/6.93, allocations: 0 / 334 MB, free: 6.227 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/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: 8.712457044050097]