Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.004611/0.004611, allocations: 114 kB / 21.97 MB, free: 5.227 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.001381/0.001381, allocations: 212.3 kB / 25.28 MB, free: 3.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 207.6 MB / 236.1 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 53.33 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2375, allocations: 49.16 MB / 397.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001477/0.239, allocations: 0.5327 MB / 397.7 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.2405, allocations: 1.535 MB / 399.2 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.2405, allocations: 0 / 399.2 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.2405, allocations: 0 / 399.2 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005856/0.2411, allocations: 174 kB / 399.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.103e-05/0.2412, allocations: 2.391 kB / 399.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.077e-05/0.2412, allocations: 24.83 kB / 399.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.2412, allocations: 6.672 kB / 399.4 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.2413, allocations: 4.625 kB / 399.4 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.2413, allocations: 8.703 kB / 399.4 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.2413, allocations: 0 / 399.4 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.2417, allocations: 242.1 kB / 399.7 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.2417, allocations: 1.938 kB / 399.7 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.2417, allocations: 14.19 kB / 399.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.242, allocations: 164 kB / 399.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.242, allocations: 1.219 kB / 399.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.242, allocations: 4 kB / 399.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.242, allocations: 5.094 kB / 399.8 MB, free: 7.371 MB / 318.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.0003094/0.2423, allocations: 284.8 kB / 400.1 MB, free: 7.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2423, allocations: 14.58 kB / 400.1 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.185e-05/0.2423, allocations: 8.125 kB / 400.1 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.583e-05/0.2424, allocations: 32.7 kB / 400.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.2424, allocations: 2.094 kB / 400.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.015e-05/0.2425, allocations: 116.4 kB / 400.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-06/0.2425, allocations: 8.312 kB / 400.3 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.2425, allocations: 6.578 kB / 400.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.528e-05/0.2426, allocations: 39.5 kB / 400.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2426, allocations: 1.125 kB / 400.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.2426, allocations: 0 / 400.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2426, allocations: 1.125 kB / 400.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.182e-05/0.2426, allocations: 7.438 kB / 400.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.2427, allocations: 133.5 kB / 400.5 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.917e-05/0.2428, allocations: 35.36 kB / 400.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.2428, allocations: 12.72 kB / 400.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.2428, allocations: 5.828 kB / 400.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.095e-05/0.2428, allocations: 31.69 kB / 400.6 MB, free: 6.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.2428, allocations: 0 / 400.6 MB, free: 6.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001231/0.2429, allocations: 49.81 kB / 400.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/0.243, allocations: 53.12 kB / 400.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.718e-05/0.243, allocations: 110.4 kB / 400.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.243, allocations: 25.7 kB / 400.8 MB, free: 6.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.454e-05/0.243, allocations: 81.2 kB / 400.9 MB, free: 6.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.2431, allocations: 15.75 kB / 400.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.2431, allocations: 17.73 kB / 400.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.2431, allocations: 317.8 kB / 401.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.2431, allocations: 8.156 kB / 401.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.2432, allocations: 16.73 kB / 401.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.621e-05/0.2432, allocations: 37.11 kB / 401.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2432, allocations: 0 / 401.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.974e-05/0.2433, allocations: 55.02 kB / 401.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2433, allocations: 9.984 kB / 401.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2433, allocations: 0 / 401.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2433, allocations: 1.594 kB / 401.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.2434, allocations: 11.7 kB / 401.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2434, allocations: 1.031 kB / 401.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.2434, allocations: 10.06 kB / 401.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.2434, allocations: 0.9688 kB / 401.4 MB, free: 5.824 MB / 318.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 3.753e-05/0.2434, allocations: 109.2 kB / 401.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.2434, allocations: 9.516 kB / 401.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.2434, allocations: 8.484 kB / 401.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2435, allocations: 1.781 kB / 401.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2435, allocations: 0 / 401.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2435, allocations: 1.031 kB / 401.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.652e-05/0.2435, allocations: 126.4 kB / 401.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2435, allocations: 7.938 kB / 401.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.2436, allocations: 7.547 kB / 401.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.2436, allocations: 3.938 kB / 401.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.2436, allocations: 1.125 kB / 401.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2436, allocations: 0.6562 kB / 401.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2436, allocations: 0 / 401.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.233e-05/0.2437, allocations: 79.89 kB / 401.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.2437, allocations: 13.59 kB / 401.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.2437, allocations: 5.547 kB / 401.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.2437, allocations: 4.125 kB / 401.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.2437, allocations: 3.078 kB / 401.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.2437, allocations: 1.594 kB / 401.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.247e-05/0.2438, allocations: 79.77 kB / 401.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2438, allocations: 1.125 kB / 401.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00025/0.244, allocations: 55.22 kB / 401.9 MB, free: 5.344 MB / 318.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.0003402/0.2443, allocations: 0.6661 MB / 402.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.294e-05/0.2444, allocations: 22.02 kB / 402.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2444, allocations: 0 / 402.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.2444, allocations: 7.953 kB / 402.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.2446, allocations: 12.44 kB / 402.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.2452, allocations: 1.179 MB / 403.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.816e-05/0.2453, allocations: 0.6791 MB / 404.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.985e-05/0.2454, allocations: 7.797 kB / 404.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.2454, allocations: 13.94 kB / 404.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2454, allocations: 0 / 404.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.267, allocations: 2.142 MB / 406.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.58, allocations: 3.781 kB / 406.6 MB, free: 2.211 MB / 318.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.872210929985158]