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.001957/0.001957, allocations: 109.7 kB / 21.93 MB, free: 5.223 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.001597/0.001597, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.501/1.501, allocations: 207.7 MB / 236.1 MB, free: 9.812 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: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") [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.001844/0.001844, allocations: 51.92 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3105, allocations: 49.16 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001683/0.3122, allocations: 0.5301 MB / 398.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.3141, allocations: 1.443 MB / 399.6 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.3142, allocations: 0 / 399.6 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.3142, allocations: 4.875 kB / 399.6 MB, free: 8.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006642/0.3148, allocations: 180.8 kB / 399.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.299e-05/0.3149, allocations: 6.562 kB / 399.8 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.747e-05/0.3149, allocations: 12.42 kB / 399.8 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.315, allocations: 2.516 kB / 399.8 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.315, allocations: 13.11 kB / 399.8 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.3151, allocations: 4.125 kB / 399.8 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3151, allocations: 0 / 399.8 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.3154, allocations: 238.2 kB / 400 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.3155, allocations: 1.375 kB / 400 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.3155, allocations: 7.75 kB / 400 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.3158, allocations: 173.8 kB / 400.2 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3158, allocations: 1.5 kB / 400.2 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3158, allocations: 0 / 400.2 MB, free: 7.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3158, allocations: 0 / 400.2 MB, free: 7.871 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.0003627/0.3161, allocations: 286.5 kB / 400.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3162, allocations: 13.08 kB / 400.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.3162, allocations: 2.906 kB / 400.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.149e-05/0.3163, allocations: 111.1 kB / 400.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3163, allocations: 5.594 kB / 400.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.3163, allocations: 1.562 kB / 400.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.757e-05/0.3164, allocations: 42.2 kB / 400.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3164, allocations: 3.938 kB / 400.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.3164, allocations: 0 / 400.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3165, allocations: 1.594 kB / 400.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.326e-05/0.3165, allocations: 6.547 kB / 400.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.3166, allocations: 109 kB / 400.8 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.927e-05/0.3167, allocations: 36.36 kB / 400.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.3167, allocations: 12.42 kB / 400.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.3167, allocations: 5.062 kB / 400.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.3167, allocations: 36.44 kB / 400.9 MB, free: 7.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3167, allocations: 0 / 400.9 MB, free: 7.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001402/0.3169, allocations: 50.45 kB / 400.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.3169, allocations: 52.59 kB / 401 MB, free: 7.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.3169, allocations: 106.1 kB / 401.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.3169, allocations: 26.89 kB / 401.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.317, allocations: 85.8 kB / 401.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.317, allocations: 13.78 kB / 401.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.317, allocations: 15.56 kB / 401.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.3171, allocations: 320.9 kB / 401.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.3171, allocations: 8.984 kB / 401.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/0.3171, allocations: 29.08 kB / 401.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.3172, allocations: 29.77 kB / 401.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3172, allocations: 0 / 401.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.199e-05/0.3172, allocations: 53.83 kB / 401.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3172, allocations: 5.406 kB / 401.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3173, allocations: 6.219 kB / 401.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3173, allocations: 0 / 401.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.3173, allocations: 9.016 kB / 401.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3173, allocations: 5.344 kB / 401.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.3174, allocations: 0 / 401.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3174, allocations: 2.156 kB / 401.7 MB, free: 6.414 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 4.584e-05/0.3174, allocations: 113.5 kB / 401.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.3174, allocations: 5.047 kB / 401.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.3175, allocations: 9.984 kB / 401.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3175, allocations: 0 / 401.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3175, allocations: 0.8906 kB / 401.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3175, allocations: 1.281 kB / 401.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.985e-05/0.3175, allocations: 107.1 kB / 401.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3175, allocations: 5.797 kB / 401.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.3176, allocations: 11.09 kB / 401.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3176, allocations: 0 / 401.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3176, allocations: 1.188 kB / 401.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3176, allocations: 4.734 kB / 401.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3176, allocations: 0 / 401.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.3177, allocations: 77.3 kB / 402 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-06/0.3177, allocations: 9.719 kB / 402 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3177, allocations: 2.062 kB / 402 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.684e-05/0.3177, allocations: 3.938 kB / 402 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.3178, allocations: 2.516 kB / 402 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.3178, allocations: 14.03 kB / 402 MB, free: 6.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.609e-05/0.3178, allocations: 80.22 kB / 402.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3178, allocations: 0 / 402.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.3181, allocations: 51.97 kB / 402.2 MB, free: 5.965 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.0002229/0.3183, allocations: 154.7 kB / 402.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.288e-05/0.3184, allocations: 18.98 kB / 402.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3184, allocations: 0 / 402.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.439e-05/0.3184, allocations: 5.703 kB / 402.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.3185, allocations: 6.641 kB / 402.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.3188, allocations: 164.3 kB / 402.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.3188, allocations: 62.7 kB / 402.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.3189, allocations: 8.625 kB / 402.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3189, allocations: 1.5 kB / 402.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of Templates: time 0.003437/0.3223, allocations: 1.16 MB / 403.7 MB, free: 5.512 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 480] 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: 7.287475124932826]