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.001197/0.001197, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001306/0.001306, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.323/1.323, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 47.92 kB / 378.6 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2274, allocations: 53.35 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001417/0.2288, allocations: 0.524 MB / 432.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.2307, allocations: 1.571 MB / 434 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.2308, allocations: 0 / 434 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.2308, allocations: 3.938 kB / 434 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.2313, allocations: 171.5 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.008e-05/0.2314, allocations: 3.984 kB / 434.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.875e-05/0.2314, allocations: 15.92 kB / 434.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.2314, allocations: 0 / 434.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.2315, allocations: 15.94 kB / 434.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.2315, allocations: 4 kB / 434.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.2315, allocations: 0 / 434.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.2319, allocations: 251.7 kB / 434.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.2319, allocations: 11.86 kB / 434.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.232, allocations: 8 kB / 434.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.2322, allocations: 176.4 kB / 434.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2322, allocations: 0 / 434.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2322, allocations: 0 / 434.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2322, allocations: 0 / 434.7 MB, free: 4.102 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.0003846/0.2326, allocations: 297.9 kB / 434.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2326, allocations: 12.03 kB / 435 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.029e-05/0.2327, allocations: 192 / 435 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.2327, allocations: 30.75 kB / 435 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.035e-05/0.2327, allocations: 0.9375 kB / 435 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2328, allocations: 110.5 kB / 435.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-06/0.2328, allocations: 8.312 kB / 435.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2329, allocations: 8.375 kB / 435.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.233e-05/0.2329, allocations: 41.62 kB / 435.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.2329, allocations: 0 / 435.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.2329, allocations: 0 / 435.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.233, allocations: 0 / 435.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.404e-05/0.233, allocations: 11.98 kB / 435.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.2331, allocations: 128.8 kB / 435.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.891e-05/0.2332, allocations: 34.5 kB / 435.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.2332, allocations: 12.94 kB / 435.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.2332, allocations: 7.938 kB / 435.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.2333, allocations: 34.56 kB / 435.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.2333, allocations: 0 / 435.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001287/0.2334, allocations: 49.64 kB / 435.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.2334, allocations: 59.34 kB / 435.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/0.2335, allocations: 97.86 kB / 435.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.2335, allocations: 25.7 kB / 435.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.2336, allocations: 92.12 kB / 435.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.2336, allocations: 7.906 kB / 435.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.2336, allocations: 17.72 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2338, allocations: 310.8 kB / 436 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.2338, allocations: 11.98 kB / 436 MB, free: 2.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/0.2338, allocations: 21.72 kB / 436.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.2339, allocations: 25.72 kB / 436.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2339, allocations: 0 / 436.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.866e-05/0.234, allocations: 65.56 kB / 436.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.234, allocations: 4 kB / 436.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.234, allocations: 0 / 436.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.234, allocations: 0 / 436.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.234, allocations: 11.98 kB / 436.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.234, allocations: 3.938 kB / 436.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.2341, allocations: 7.938 kB / 436.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.2341, allocations: 3.938 kB / 436.2 MB, free: 2.375 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.966e-05/0.2342, allocations: 113.9 kB / 436.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.2342, allocations: 3.938 kB / 436.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.2342, allocations: 7.688 kB / 436.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.2342, allocations: 3.938 kB / 436.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2342, allocations: 0 / 436.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2342, allocations: 4 kB / 436.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2343, allocations: 128.7 kB / 436.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2343, allocations: 3.938 kB / 436.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.2344, allocations: 7.984 kB / 436.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2344, allocations: 4 kB / 436.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-06/0.2344, allocations: 4 kB / 436.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2344, allocations: 0 / 436.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2344, allocations: 128 / 436.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.2345, allocations: 81.48 kB / 436.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.2345, allocations: 7.969 kB / 436.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.2345, allocations: 0 / 436.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.2345, allocations: 3.984 kB / 436.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.2345, allocations: 4.109 kB / 436.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.2345, allocations: 3.984 kB / 436.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.331e-05/0.2346, allocations: 83.28 kB / 436.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2346, allocations: 0 / 436.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.2348, allocations: 55.86 kB / 436.7 MB, free: 1.789 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.0005323/0.2354, allocations: 0.6709 MB / 437.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.183e-05/0.2355, allocations: 19.92 kB / 437.4 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2355, allocations: 0 / 437.4 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.645e-05/0.2355, allocations: 12 kB / 437.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.2356, allocations: 0 / 437.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.2366, allocations: 1.19 MB / 438.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.2369, allocations: 0.6807 MB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.962e-05/0.237, allocations: 8 kB / 439.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.2371, allocations: 11.38 kB / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2371, allocations: 0 / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.266, allocations: 2.218 MB / 441.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.56, allocations: 14.36 kB / 441.5 MB, free: 12.97 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.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_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: 12.833444977994077]