Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 108.6 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 43.94 kB / 371.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2281, allocations: 52.19 MB / 423.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001601/0.2297, allocations: 0.5354 MB / 423.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.2316, allocations: 1.496 MB / 425.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.2316, allocations: 4 kB / 425.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.098e-05/0.2316, allocations: 0 / 425.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.2322, allocations: 175.4 kB / 425.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.451e-05/0.2322, allocations: 3.938 kB / 425.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.22e-05/0.2323, allocations: 15.98 kB / 425.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.2323, allocations: 4 kB / 425.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.245e-05/0.2324, allocations: 7.938 kB / 425.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.2324, allocations: 15.94 kB / 425.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.2324, allocations: 0 / 425.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.2328, allocations: 243.7 kB / 425.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.2328, allocations: 7.984 kB / 425.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.2328, allocations: 3.938 kB / 425.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.2331, allocations: 176.4 kB / 426.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2331, allocations: 0 / 426.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2331, allocations: 0 / 426.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.2331, allocations: 0 / 426.1 MB, free: 11.91 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.0004014/0.2335, allocations: 290 kB / 426.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2336, allocations: 12.03 kB / 426.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.551e-05/0.2336, allocations: 192 / 426.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.2336, allocations: 30.75 kB / 426.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.2336, allocations: 0.9375 kB / 426.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.2337, allocations: 110.5 kB / 426.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2337, allocations: 4.375 kB / 426.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.2338, allocations: 4.375 kB / 426.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.501e-05/0.2338, allocations: 41.56 kB / 426.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2338, allocations: 4 kB / 426.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-06/0.2339, allocations: 3.938 kB / 426.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2339, allocations: 0 / 426.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.2339, allocations: 11.98 kB / 426.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.2341, allocations: 132.7 kB / 426.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.2341, allocations: 26.58 kB / 426.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.2342, allocations: 8.859 kB / 426.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.2342, allocations: 11.97 kB / 426.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2342, allocations: 34.55 kB / 426.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/0.2342, allocations: 7.984 kB / 426.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001283/0.2343, allocations: 45.69 kB / 426.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.2344, allocations: 55.41 kB / 426.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.2345, allocations: 97.8 kB / 427 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.2345, allocations: 25.7 kB / 427 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.2345, allocations: 88.14 kB / 427.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.2345, allocations: 15.89 kB / 427.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.2346, allocations: 17.72 kB / 427.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2347, allocations: 314.8 kB / 427.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.2347, allocations: 11.98 kB / 427.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.2347, allocations: 25.66 kB / 427.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.095e-05/0.2348, allocations: 21.72 kB / 427.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2348, allocations: 4 kB / 427.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.738e-05/0.2349, allocations: 69.52 kB / 427.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2349, allocations: 4 kB / 427.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2349, allocations: 0 / 427.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2349, allocations: 0 / 427.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.235, allocations: 11.98 kB / 427.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.235, allocations: 0 / 427.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.235, allocations: 4.125 kB / 427.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.235, allocations: 4 kB / 427.6 MB, free: 10.19 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.164e-05/0.2351, allocations: 109.9 kB / 427.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.2351, allocations: 7.938 kB / 427.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.2351, allocations: 7.688 kB / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.2351, allocations: 0 / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.2351, allocations: 0 / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2351, allocations: 0 / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.2352, allocations: 132.7 kB / 427.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2352, allocations: 3.938 kB / 427.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.2353, allocations: 7.984 kB / 427.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2353, allocations: 0 / 427.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.2353, allocations: 8 kB / 427.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.2353, allocations: 0 / 427.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2353, allocations: 0 / 427.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.2354, allocations: 81.02 kB / 428 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.2354, allocations: 3.938 kB / 428 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.2354, allocations: 4.031 kB / 428 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.616e-05/0.2355, allocations: 0 / 428 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.2355, allocations: 4.453 kB / 428 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.2355, allocations: 8 kB / 428 MB, free: 9.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.438e-05/0.2355, allocations: 87.27 kB / 428.1 MB, free: 9.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2355, allocations: 0 / 428.1 MB, free: 9.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.2358, allocations: 59.73 kB / 428.1 MB, free: 9.598 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.0005428/0.2363, allocations: 0.6631 MB / 428.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.015e-05/0.2364, allocations: 20 kB / 428.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2364, allocations: 0 / 428.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.796e-05/0.2364, allocations: 15.98 kB / 428.8 MB, free: 8.867 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.2365, allocations: 0 / 428.8 MB, free: 8.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2376, allocations: 1.175 MB / 430 MB, free: 7.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.2379, allocations: 0.6844 MB / 430.7 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.781e-05/0.238, allocations: 15.92 kB / 430.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.238, allocations: 7.438 kB / 430.7 MB, free: 6.871 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.238, allocations: 0 / 430.7 MB, free: 6.871 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.2599, allocations: 2.164 MB / 432.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.48, allocations: 2.75 kB / 432.9 MB, free: 4.844 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.807122994970996]