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.001426/0.001426, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00156/0.00156, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.342/1.342, allocations: 230.6 MB / 258.3 MB, free: 7.801 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="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.001392/0.001392, allocations: 55.92 kB / 378.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2153, allocations: 53.34 MB / 431.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001557/0.2169, allocations: 0.5278 MB / 432.4 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.2187, allocations: 1.473 MB / 433.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.2188, allocations: 0 / 433.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.2188, allocations: 0 / 433.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005797/0.2194, allocations: 181.5 kB / 434 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.296e-05/0.2194, allocations: 4 kB / 434 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.61e-05/0.2194, allocations: 4 kB / 434 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.2195, allocations: 11.98 kB / 434 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.2195, allocations: 15.92 kB / 434.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.2196, allocations: 3.938 kB / 434.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2196, allocations: 4 kB / 434.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.2199, allocations: 247.7 kB / 434.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.2199, allocations: 0 / 434.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.22, allocations: 7.938 kB / 434.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.2202, allocations: 175.6 kB / 434.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2202, allocations: 0 / 434.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2202, allocations: 0 / 434.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.2202, allocations: 0 / 434.5 MB, free: 3.996 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.0004038/0.2206, allocations: 297.9 kB / 434.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2207, allocations: 12.02 kB / 434.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.474e-05/0.2207, allocations: 4.188 kB / 434.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.2207, allocations: 34.75 kB / 434.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.034e-05/0.2207, allocations: 0.9375 kB / 434.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.2209, allocations: 110.5 kB / 434.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-06/0.2209, allocations: 384 / 434.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.2209, allocations: 4.375 kB / 434.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.827e-05/0.221, allocations: 45.56 kB / 435 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.221, allocations: 3.938 kB / 435 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.221, allocations: 4 kB / 435 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.221, allocations: 0 / 435 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.388e-05/0.221, allocations: 11.97 kB / 435 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.2212, allocations: 128.7 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.137e-05/0.2213, allocations: 30.61 kB / 435.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.2213, allocations: 16.8 kB / 435.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.2213, allocations: 3.938 kB / 435.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2213, allocations: 34.56 kB / 435.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.2213, allocations: 0 / 435.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001226/0.2215, allocations: 45.78 kB / 435.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.2215, allocations: 55.41 kB / 435.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.656e-05/0.2216, allocations: 105.8 kB / 435.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.2216, allocations: 25.7 kB / 435.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.2216, allocations: 84.08 kB / 435.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.2217, allocations: 15.91 kB / 435.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.2217, allocations: 21.7 kB / 435.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2218, allocations: 314.8 kB / 435.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.2218, allocations: 4 kB / 435.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.2219, allocations: 21.7 kB / 435.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.645e-05/0.2219, allocations: 29.72 kB / 435.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2219, allocations: 4 kB / 435.9 MB, free: 2.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.341e-05/0.222, allocations: 57.56 kB / 436 MB, free: 2.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.222, allocations: 8 kB / 436 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.222, allocations: 0 / 436 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.222, allocations: 0 / 436 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.114e-05/0.2221, allocations: 8 kB / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2221, allocations: 128 / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.2221, allocations: 7.938 kB / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2221, allocations: 8 kB / 436 MB, free: 2.266 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.683e-05/0.2222, allocations: 109.8 kB / 436.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.2222, allocations: 15.92 kB / 436.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.2223, allocations: 11.62 kB / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2223, allocations: 0 / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2223, allocations: 0 / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2223, allocations: 0 / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.2224, allocations: 124.8 kB / 436.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.2224, allocations: 3.938 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.2224, allocations: 8 kB / 436.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2224, allocations: 432 / 436.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.2224, allocations: 4 kB / 436.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2224, allocations: 0 / 436.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2224, allocations: 7.938 kB / 436.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.2226, allocations: 77.09 kB / 436.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.2226, allocations: 7.969 kB / 436.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2226, allocations: 4 kB / 436.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.2226, allocations: 0 / 436.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.2226, allocations: 0 / 436.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.2226, allocations: 3.938 kB / 436.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.953e-05/0.2227, allocations: 87.27 kB / 436.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2227, allocations: 3.938 kB / 436.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.2229, allocations: 51.88 kB / 436.5 MB, free: 1.68 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.0005284/0.2234, allocations: 0.667 MB / 437.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.758e-05/0.2235, allocations: 23.92 kB / 437.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2235, allocations: 0 / 437.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.2235, allocations: 4 kB / 437.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.2237, allocations: 11.94 kB / 437.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.2247, allocations: 1.182 MB / 438.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.2247, allocations: 63.34 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.228e-05/0.2248, allocations: 8.125 kB / 438.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.2249, allocations: 15.42 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2249, allocations: 0 / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.2468, allocations: 2.236 MB / 440.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.64, allocations: 12.61 kB / 440.7 MB, free: 13.46 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.940076885046437]