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.001258/0.001258, allocations: 103.9 kB / 21.96 MB, free: 5.219 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.001875/0.001875, allocations: 213.5 kB / 25.26 MB, free: 3.129 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.317/1.317, allocations: 207.7 MB / 236.1 MB, free: 9.793 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: 51.92 kB / 348 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2629, allocations: 49.16 MB / 397.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001542/0.2645, allocations: 0.5276 MB / 397.7 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.266, allocations: 1.439 MB / 399.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.266, allocations: 0 / 399.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.266, allocations: 0 / 399.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005477/0.2666, allocations: 185.4 kB / 399.3 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.004e-05/0.2666, allocations: 5.109 kB / 399.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.412e-05/0.2666, allocations: 12.95 kB / 399.3 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.2667, allocations: 2.922 kB / 399.3 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.2667, allocations: 8.719 kB / 399.3 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.2667, allocations: 8.703 kB / 399.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2667, allocations: 9.156 kB / 399.3 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.2671, allocations: 240.5 kB / 399.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.2671, allocations: 5.734 kB / 399.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.2671, allocations: 10.09 kB / 399.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.2674, allocations: 171.9 kB / 399.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2674, allocations: 0 / 399.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2674, allocations: 0 / 399.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2674, allocations: 0 / 399.7 MB, free: 7.344 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.000328/0.2677, allocations: 285.7 kB / 400 MB, free: 7.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2678, allocations: 14.62 kB / 400 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.102e-05/0.2678, allocations: 5.438 kB / 400 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.674e-05/0.2678, allocations: 31.27 kB / 400.1 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.2678, allocations: 3.094 kB / 400.1 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.179e-05/0.2679, allocations: 119.3 kB / 400.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.2679, allocations: 1.5 kB / 400.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2679, allocations: 2.406 kB / 400.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.823e-05/0.268, allocations: 45.53 kB / 400.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.268, allocations: 0 / 400.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.268, allocations: 4 kB / 400.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.268, allocations: 1.438 kB / 400.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.268, allocations: 7.172 kB / 400.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001012/0.2681, allocations: 129.8 kB / 400.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.98e-05/0.2682, allocations: 31.02 kB / 400.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.2682, allocations: 8.531 kB / 400.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.2682, allocations: 9.281 kB / 400.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.2682, allocations: 40.89 kB / 400.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2682, allocations: 0 / 400.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001278/0.2684, allocations: 45.16 kB / 400.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.2684, allocations: 53.52 kB / 400.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.2684, allocations: 102.4 kB / 400.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.2685, allocations: 27.11 kB / 400.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.67e-05/0.2685, allocations: 85.39 kB / 400.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.2685, allocations: 10.7 kB / 400.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.2685, allocations: 21.91 kB / 400.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.2686, allocations: 320.7 kB / 401.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.2686, allocations: 5.875 kB / 401.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.2686, allocations: 24.53 kB / 401.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.703e-05/0.2686, allocations: 26.77 kB / 401.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2686, allocations: 0 / 401.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.141e-05/0.2687, allocations: 61.81 kB / 401.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2687, allocations: 9.844 kB / 401.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2687, allocations: 0 / 401.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2687, allocations: 5.281 kB / 401.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.2688, allocations: 8.234 kB / 401.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2688, allocations: 1.312 kB / 401.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.2688, allocations: 1.469 kB / 401.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.2688, allocations: 2.375 kB / 401.3 MB, free: 5.812 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.892e-05/0.2689, allocations: 112.4 kB / 401.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.2689, allocations: 9.828 kB / 401.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.2689, allocations: 4.812 kB / 401.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2689, allocations: 5.344 kB / 401.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2689, allocations: 0 / 401.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2689, allocations: 2.016 kB / 401.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.489e-05/0.269, allocations: 132.4 kB / 401.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.269, allocations: 3.938 kB / 401.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.269, allocations: 6.5 kB / 401.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.269, allocations: 2.219 kB / 401.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.269, allocations: 0 / 401.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.269, allocations: 1.219 kB / 401.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.269, allocations: 0 / 401.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.602e-05/0.2691, allocations: 76.14 kB / 401.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.2691, allocations: 17.89 kB / 401.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.2692, allocations: 1.438 kB / 401.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.777e-05/0.2692, allocations: 1.672 kB / 401.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.2692, allocations: 5.219 kB / 401.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2692, allocations: 2.156 kB / 401.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.331e-05/0.2692, allocations: 84.23 kB / 401.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2692, allocations: 0 / 401.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.2695, allocations: 55.33 kB / 401.8 MB, free: 5.328 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.0003525/0.2698, allocations: 0.6683 MB / 402.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.895e-05/0.2699, allocations: 25.77 kB / 402.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2699, allocations: 0 / 402.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.2699, allocations: 6.547 kB / 402.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.27, allocations: 1.562 kB / 402.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/0.2708, allocations: 1.183 MB / 403.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.2708, allocations: 70.5 kB / 403.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.452e-05/0.2709, allocations: 3.516 kB / 403.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.2709, allocations: 11.44 kB / 403.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2709, allocations: 4.062 kB / 403.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.2943, allocations: 2.158 MB / 405.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.87, allocations: 8.375 kB / 405.9 MB, free: 2.789 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.164587202947587]