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.001665/0.001665, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001564/0.001564, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.517/1.517, allocations: 207.6 MB / 235.2 MB, free: 10.01 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.001929/0.001929, allocations: 47.92 kB / 347.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2927, allocations: 49.17 MB / 396.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001713/0.2945, allocations: 0.531 MB / 396.9 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.2964, allocations: 1.536 MB / 398.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.2965, allocations: 0 / 398.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.2965, allocations: 3.938 kB / 398.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000631/0.2971, allocations: 176.1 kB / 398.6 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.05e-05/0.2971, allocations: 6.906 kB / 398.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.251e-05/0.2972, allocations: 9.547 kB / 398.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.2973, allocations: 1.812 kB / 398.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.868e-05/0.2973, allocations: 17.27 kB / 398.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.2974, allocations: 11.38 kB / 398.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.2974, allocations: 1.188 kB / 398.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.2978, allocations: 243.1 kB / 398.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.2978, allocations: 0.8906 kB / 398.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.2978, allocations: 14.31 kB / 398.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.2982, allocations: 169.1 kB / 399.1 MB, free: 7.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2982, allocations: 0 / 399.1 MB, free: 7.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2982, allocations: 3.938 kB / 399.1 MB, free: 7.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2982, allocations: 0 / 399.1 MB, free: 7.332 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.0003662/0.2985, allocations: 287.4 kB / 399.3 MB, free: 7.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2986, allocations: 17.27 kB / 399.4 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.2986, allocations: 31.97 kB / 399.4 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.2986, allocations: 3 kB / 399.4 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.2987, allocations: 114 kB / 399.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.2987, allocations: 5.625 kB / 399.5 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.2987, allocations: 10.45 kB / 399.5 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.74e-05/0.2988, allocations: 36.02 kB / 399.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.2988, allocations: 2.859 kB / 399.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.2988, allocations: 4 kB / 399.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2989, allocations: 0 / 399.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.2989, allocations: 6.375 kB / 399.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.2991, allocations: 130.5 kB / 399.7 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.547e-05/0.2991, allocations: 39.06 kB / 399.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.2992, allocations: 8.766 kB / 399.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.2992, allocations: 1.094 kB / 399.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.2992, allocations: 40.5 kB / 399.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2992, allocations: 0 / 399.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001432/0.2993, allocations: 45.69 kB / 399.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.2994, allocations: 54.08 kB / 399.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.336e-05/0.2994, allocations: 100.9 kB / 400 MB, free: 6.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.2994, allocations: 31.23 kB / 400 MB, free: 6.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.903e-05/0.2995, allocations: 84.69 kB / 400.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.2995, allocations: 10.81 kB / 400.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.2995, allocations: 17.7 kB / 400.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.2996, allocations: 321.5 kB / 400.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.2996, allocations: 5.25 kB / 400.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.2996, allocations: 25.09 kB / 400.5 MB, free: 5.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.2996, allocations: 28.56 kB / 400.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2996, allocations: 0 / 400.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.187e-05/0.2997, allocations: 63.56 kB / 400.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2997, allocations: 4.938 kB / 400.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2997, allocations: 1.156 kB / 400.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2998, allocations: 0 / 400.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.706e-05/0.2998, allocations: 8.875 kB / 400.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2999, allocations: 1.219 kB / 400.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.2999, allocations: 4.938 kB / 400.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2999, allocations: 6.547 kB / 400.6 MB, free: 5.797 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 5.113e-05/0.2999, allocations: 115.6 kB / 400.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.2999, allocations: 10.2 kB / 400.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.3, allocations: 8.328 kB / 400.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3, allocations: 1.609 kB / 400.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3, allocations: 0 / 400.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3, allocations: 1.094 kB / 400.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.453e-05/0.3001, allocations: 134 kB / 400.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3001, allocations: 0.6562 kB / 400.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.3001, allocations: 10.36 kB / 400.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3001, allocations: 1.312 kB / 400.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.3001, allocations: 0 / 400.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3001, allocations: 1.953 kB / 400.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3001, allocations: 0 / 400.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.3003, allocations: 75.47 kB / 400.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.3003, allocations: 13.7 kB / 400.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.3003, allocations: 5.562 kB / 401 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.3003, allocations: 4 kB / 401 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.3003, allocations: 6.469 kB / 401 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3003, allocations: 2.078 kB / 401 MB, free: 5.395 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.724e-05/0.3004, allocations: 84.59 kB / 401 MB, free: 5.316 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3004, allocations: 0 / 401 MB, free: 5.316 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.3007, allocations: 50.61 kB / 401.1 MB, free: 5.309 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.0004211/0.3011, allocations: 0.6625 MB / 401.8 MB, free: 4.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.3012, allocations: 18.77 kB / 401.8 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3012, allocations: 0 / 401.8 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.3013, allocations: 10.78 kB / 401.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.3014, allocations: 1.25 kB / 401.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008909/0.3023, allocations: 1.191 MB / 403 MB, free: 3.516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.3024, allocations: 0.6854 MB / 403.7 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.3025, allocations: 8.812 kB / 403.7 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.3025, allocations: 10.84 kB / 403.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3025, allocations: 0 / 403.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03332/0.3359, allocations: 2.105 MB / 405.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.46, allocations: 6.844 kB / 405.8 MB, free: 2.203 MB / 318.1 MB " [Timeout remaining time 648] (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.911000682041049]