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.001303/0.001303, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001353/0.001353, allocations: 212 kB / 24.47 MB, free: 3.547 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.342/1.342, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",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.001896/0.001896, allocations: 66.73 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2413, allocations: 49.16 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001767/0.2431, allocations: 0.5236 MB / 396.9 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.2448, allocations: 1.444 MB / 398.3 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.2448, allocations: 1.031 kB / 398.3 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.2449, allocations: 0 / 398.3 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006355/0.2455, allocations: 180.3 kB / 398.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.87e-05/0.2455, allocations: 10.48 kB / 398.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.798e-05/0.2456, allocations: 13.16 kB / 398.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.2456, allocations: 2.062 kB / 398.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.286e-05/0.2457, allocations: 12.81 kB / 398.5 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.687e-05/0.2457, allocations: 12.45 kB / 398.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.2457, allocations: 1 kB / 398.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.2461, allocations: 229.8 kB / 398.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.2461, allocations: 4.594 kB / 398.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.2461, allocations: 7.969 kB / 398.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.2464, allocations: 170 kB / 398.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2464, allocations: 4 kB / 399 MB, free: 7.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.2464, allocations: 0 / 399 MB, free: 7.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2464, allocations: 1.062 kB / 399 MB, free: 7.352 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.0003341/0.2467, allocations: 285.8 kB / 399.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2468, allocations: 13.92 kB / 399.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.2468, allocations: 36.83 kB / 399.3 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.2468, allocations: 2.031 kB / 399.3 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.377e-05/0.2469, allocations: 119.3 kB / 399.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2469, allocations: 2.406 kB / 399.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.2469, allocations: 1.625 kB / 399.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.012e-05/0.247, allocations: 51.81 kB / 399.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.247, allocations: 1.938 kB / 399.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.247, allocations: 0 / 399.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.247, allocations: 1.188 kB / 399.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.185e-05/0.2471, allocations: 7.219 kB / 399.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.2472, allocations: 124.9 kB / 399.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.323e-05/0.2472, allocations: 31.95 kB / 399.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/0.2473, allocations: 9.625 kB / 399.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.2473, allocations: 4 kB / 399.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.2473, allocations: 41.12 kB / 399.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2473, allocations: 3.938 kB / 399.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000128/0.2474, allocations: 49.36 kB / 399.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.2474, allocations: 52.72 kB / 399.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.655e-05/0.2475, allocations: 103.5 kB / 399.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.2475, allocations: 25.7 kB / 399.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.695e-05/0.2475, allocations: 82.2 kB / 400 MB, free: 6.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.2475, allocations: 13.7 kB / 400 MB, free: 6.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.2476, allocations: 15.09 kB / 400 MB, free: 6.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.2476, allocations: 320.8 kB / 400.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.2476, allocations: 5.219 kB / 400.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.2476, allocations: 25.83 kB / 400.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.2477, allocations: 28.28 kB / 400.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2477, allocations: 1.188 kB / 400.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.39e-05/0.2477, allocations: 61.48 kB / 400.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2478, allocations: 5.469 kB / 400.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2478, allocations: 1.25 kB / 400.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2478, allocations: 2.188 kB / 400.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.2478, allocations: 7.328 kB / 400.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2478, allocations: 1.375 kB / 400.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.2479, allocations: 2.062 kB / 400.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.2479, allocations: 9.438 kB / 400.5 MB, free: 5.82 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.922e-05/0.2479, allocations: 112 kB / 400.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.2479, allocations: 9.297 kB / 400.6 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.2479, allocations: 6.234 kB / 400.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2479, allocations: 0 / 400.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2479, allocations: 2.109 kB / 400.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.248, allocations: 0 / 400.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.813e-05/0.248, allocations: 129 kB / 400.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.248, allocations: 3.984 kB / 400.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.2481, allocations: 16.19 kB / 400.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2481, allocations: 128 / 400.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2481, allocations: 9.25 kB / 400.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2481, allocations: 0 / 400.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2481, allocations: 0.7031 kB / 400.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.2482, allocations: 77.5 kB / 400.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.2482, allocations: 13.17 kB / 400.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2482, allocations: 5.531 kB / 400.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.698e-05/0.2482, allocations: 1.25 kB / 400.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.2482, allocations: 1.062 kB / 400.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2482, allocations: 5.938 kB / 400.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.491e-05/0.2483, allocations: 81.08 kB / 400.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2483, allocations: 4.062 kB / 400.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.2485, allocations: 50.55 kB / 401 MB, free: 5.332 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.0003671/0.2489, allocations: 0.6637 MB / 401.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.792e-05/0.249, allocations: 22.78 kB / 401.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.249, allocations: 0 / 401.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.249, allocations: 6.516 kB / 401.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.2491, allocations: 1.156 kB / 401.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.2499, allocations: 1.191 MB / 402.9 MB, free: 3.543 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.2499, allocations: 66.25 kB / 402.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.928e-05/0.25, allocations: 8.734 kB / 402.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.25, allocations: 10.91 kB / 403 MB, free: 3.457 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.25, allocations: 0 / 403 MB, free: 3.457 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/0.289, allocations: 2.502 MB / 405.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.9, allocations: 6.031 kB / 405.5 MB, free: 2.422 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: 13.095284279901534]