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.001262/0.001262, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001362/0.001362, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 7.793 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2601, allocations: 53.36 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001689/0.2618, allocations: 0.524 MB / 431.6 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.2639, allocations: 1.481 MB / 433.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.2639, allocations: 0 / 433.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.2639, allocations: 0 / 433.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006134/0.2646, allocations: 175.4 kB / 433.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.424e-05/0.2646, allocations: 4 kB / 433.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.78e-05/0.2646, allocations: 11.94 kB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.2647, allocations: 11.98 kB / 433.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.2647, allocations: 4 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.061e-05/0.2648, allocations: 7.938 kB / 433.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.2648, allocations: 4 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.2652, allocations: 243.7 kB / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.2652, allocations: 7.984 kB / 433.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.2653, allocations: 7.938 kB / 433.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.2655, allocations: 177.3 kB / 433.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2656, allocations: 3.938 kB / 433.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2656, allocations: 4 kB / 433.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2656, allocations: 0 / 433.7 MB, free: 3.988 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.000448/0.266, allocations: 297.9 kB / 434 MB, free: 3.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2661, allocations: 8.031 kB / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.2661, allocations: 34.75 kB / 434.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.2661, allocations: 0.9375 kB / 434.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2662, allocations: 106.5 kB / 434.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.2663, allocations: 384 / 434.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.2663, allocations: 4.375 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.2664, allocations: 37.81 kB / 434.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2664, allocations: 4 kB / 434.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.2664, allocations: 4 kB / 434.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2664, allocations: 0 / 434.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.932e-05/0.2664, allocations: 15.92 kB / 434.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.2666, allocations: 124.7 kB / 434.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.98e-05/0.2667, allocations: 34.61 kB / 434.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.2667, allocations: 8.859 kB / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.2667, allocations: 0 / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.2667, allocations: 38.5 kB / 434.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.2667, allocations: 0 / 434.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001482/0.2669, allocations: 53.84 kB / 434.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.2669, allocations: 55.41 kB / 434.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.783e-05/0.267, allocations: 105.8 kB / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.267, allocations: 29.7 kB / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.2671, allocations: 84.14 kB / 434.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.2671, allocations: 7.906 kB / 434.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.2671, allocations: 25.64 kB / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2673, allocations: 314.8 kB / 435.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.2673, allocations: 8 kB / 435.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.2673, allocations: 17.7 kB / 435.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.592e-05/0.2674, allocations: 33.66 kB / 435.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2674, allocations: 4 kB / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.503e-05/0.2675, allocations: 57.62 kB / 435.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.2675, allocations: 4 kB / 435.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2675, allocations: 7.938 kB / 435.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2675, allocations: 0 / 435.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.2676, allocations: 8 kB / 435.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2676, allocations: 0 / 435.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.2676, allocations: 3.938 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.2676, allocations: 0 / 435.2 MB, free: 2.277 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.403e-05/0.2677, allocations: 113.9 kB / 435.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.2677, allocations: 11.89 kB / 435.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.2677, allocations: 11.69 kB / 435.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2677, allocations: 128 / 435.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2677, allocations: 4 kB / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2677, allocations: 0 / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.2678, allocations: 128.7 kB / 435.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2679, allocations: 0 / 435.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.2679, allocations: 11.94 kB / 435.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2679, allocations: 0 / 435.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2679, allocations: 0 / 435.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2679, allocations: 0 / 435.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2679, allocations: 4 kB / 435.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.2681, allocations: 85.05 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.2681, allocations: 3.938 kB / 435.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.2681, allocations: 0 / 435.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.2681, allocations: 4.031 kB / 435.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.2681, allocations: 0 / 435.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.2681, allocations: 0 / 435.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.018e-05/0.2682, allocations: 87.59 kB / 435.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2682, allocations: 0 / 435.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.2684, allocations: 51.88 kB / 435.7 MB, free: 1.695 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.0006257/0.269, allocations: 0.6826 MB / 436.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.651e-05/0.2691, allocations: 16.02 kB / 436.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2691, allocations: 4 kB / 436.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.429e-05/0.2692, allocations: 11.94 kB / 436.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.2693, allocations: 2.672 kB / 436.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.2704, allocations: 1.182 MB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.877e-05/0.2704, allocations: 63.34 kB / 437.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.91e-05/0.2705, allocations: 8.125 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.2706, allocations: 11.42 kB / 437.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2706, allocations: 0 / 437.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.3022, allocations: 2.597 MB / 440.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.54, allocations: 3.797 kB / 440.3 MB, free: 13.11 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.828357949998463]